Skip to content

Instantly share code, notes, and snippets.

@ardydedase
Created April 8, 2013 02:49
Show Gist options
  • Save ardydedase/5333866 to your computer and use it in GitHub Desktop.
Save ardydedase/5333866 to your computer and use it in GitHub Desktop.
Rename a bunch of files.
for i in *_12x12.png; do noext=${i/migPa}; noext=${noext/\.png}; echo $noext; echo $i; mv $i $noext".png"; done;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment