Skip to content

Instantly share code, notes, and snippets.

@gmcerveny
Last active December 14, 2015 12:09
Show Gist options
  • Save gmcerveny/5084011 to your computer and use it in GitHub Desktop.
Save gmcerveny/5084011 to your computer and use it in GitHub Desktop.
Adding device modifier to assets
find . -type f -name "*.png" -print | while read file; do mv "${file}" "${file%.png}~ipad.png";
done;
find . -type f -name "*.png" -and -not -name "*~ipad.png" -print
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment