Created
January 14, 2016 16:14
-
-
Save forestbaker/7c4abf63ade490a1adf3 to your computer and use it in GitHub Desktop.
bulk renaming files just got a whole lot easier...
This file contains hidden or 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
#!/bin/bash | |
rename -vs | |
# usage: | |
# rename oldfilename newfilename *filepattern | |
# example: | |
# rename files in present directory ending with .htm to .html | |
rename .htm .html *.htm |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment