Skip to content

Instantly share code, notes, and snippets.

@ahelja
Created November 22, 2020 13:38
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 ahelja/fd1be9fe0f380ccaf5b8ef6500532eea to your computer and use it in GitHub Desktop.
Save ahelja/fd1be9fe0f380ccaf5b8ef6500532eea to your computer and use it in GitHub Desktop.
Renaming folders files and subfolders
find . -mindepth 1 -depth -iname \* -exec \
sh -c 'mv "$0" "$(tr "[:upper:]" "[:lower:]" <<<$0)"' {} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment