Skip to content

Instantly share code, notes, and snippets.

@joecannatti
Created February 24, 2011 19:59
Show Gist options
  • Save joecannatti/842775 to your computer and use it in GitHub Desktop.
Save joecannatti/842775 to your computer and use it in GitHub Desktop.
for i in *.png; do j=`echo $i | sed 's/^\(Plate_\([0-9]*\).*\)/\2/g'`; cp "$i" "renamed/$j.png"; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment