Skip to content

Instantly share code, notes, and snippets.

@itayadler
Created December 26, 2011 12:30
Show Gist options
  • Save itayadler/1521068 to your computer and use it in GitHub Desktop.
Save itayadler/1521068 to your computer and use it in GitHub Desktop.
This bash script can be used to rename all the files in the current directory
#!/bin/bash
for i in *.*; do mv "$f" "${f,,}"; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment