Skip to content

Instantly share code, notes, and snippets.

@arnorhs
Created April 17, 2013 21:21
Show Gist options
  • Select an option

  • Save arnorhs/5407868 to your computer and use it in GitHub Desktop.

Select an option

Save arnorhs/5407868 to your computer and use it in GitHub Desktop.
Rename a bunch of pngs to <number>.png
i=0; for filename in *; do mv $filename $i.png; ((i++)); done;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment