Created
January 5, 2014 02:12
-
-
Save edenwaith/8263405 to your computer and use it in GitHub Desktop.
Quick batch file rename from the command line
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
ls foo*.jpg | awk '{print("mv "$1" "$1)}' | sed 's/foo/bar/2' | /bin/sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment