Created
October 24, 2014 15:40
-
-
Save jiceb/e510d12f0426da659f32 to your computer and use it in GitHub Desktop.
os x terminal batch image file rename
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
# dry run | |
for f in *.png; do echo mv "$f" "prefix_$f"; done | |
# for real now | |
for f in *.png; do mv "$f" "prefix_$f"; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment