Skip to content

Instantly share code, notes, and snippets.

@gwennguihal
Created January 10, 2014 09:47
Show Gist options
  • Save gwennguihal/8349248 to your computer and use it in GitHub Desktop.
Save gwennguihal/8349248 to your computer and use it in GitHub Desktop.
Bash code to add suffix @2x to images filename
for f in *.png; do mv "$f" "${f%.png}@2x.png"; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment