Created
March 16, 2019 22:53
-
-
Save codehacken/5e5c7028611d52909b516fbb716d1ad6 to your computer and use it in GitHub Desktop.
Replace part of all the names of files in a folder.
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 . -type f -exec rename 's/<original string>/<string to be replaced with>/g' {} + |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment