Created
April 8, 2013 02:29
-
-
Save ardydedase/5333768 to your computer and use it in GitHub Desktop.
Rename and create a copy of a bunch of files by appending a string at the end of the filename.
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
h=12;for i in *_$h.png; do noext=${i/\.png}; cp $i $noext"x$h.png"; done; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment