Skip to content

Instantly share code, notes, and snippets.

@emmanuelnk
Created January 10, 2020 08:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save emmanuelnk/84cb39b838aeb2ff8e810d6f51efba10 to your computer and use it in GitHub Desktop.
Save emmanuelnk/84cb39b838aeb2ff8e810d6f51efba10 to your computer and use it in GitHub Desktop.
Convert all filenames in current directory to lowercase (Bash)
for i in $( ls | grep [A-Z] ); do mv -i $i `echo $i | tr 'A-Z' 'a-z'`; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment