Created
June 5, 2017 08:03
-
-
Save furkanayhan/f5ee8c2312c3be1057b4d2eea13e48cc to your computer and use it in GitHub Desktop.
find and rename all files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
find . -name 'OLDFILENAMEPARTIAL*' -type f -exec bash -c 'mv "$1" "${1//OLDFILENAMEPARTIAL/NEWFILENAMEPARTIAL}"' -- {} \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment