Skip to content

Instantly share code, notes, and snippets.

@wbingli
Created July 24, 2013 03:53
Show Gist options
  • Save wbingli/6067964 to your computer and use it in GitHub Desktop.
Save wbingli/6067964 to your computer and use it in GitHub Desktop.
Change all file and directory name to lowercase
find . -name '*[A-Z]*' -print0 | xargs -0 rename 'y/A-Z/a-z/'
@wbingli
Copy link
Author

wbingli commented Aug 5, 2013

Need to convert the files one level by one level, otherwise, the files with folder name changed will fail.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment