Skip to content

Instantly share code, notes, and snippets.

@cyupa
Created July 23, 2015 09:56
Show Gist options
  • Save cyupa/0579e2c4c50313e9ed6b to your computer and use it in GitHub Desktop.
Save cyupa/0579e2c4c50313e9ed6b to your computer and use it in GitHub Desktop.
Command to rename files contaning -100 to @3x
find . -type f -name "*-100*" -exec sh -c 'mv "$0" "${0/-100/@3x}"' '{}' \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment