Created
July 16, 2016 10:26
-
-
Save Shilo/71c3d41ebf43e148a72da2f8796f6980 to your computer and use it in GitHub Desktop.
Terminal command to append "@2x" to file names inside current directory.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for file in *; do mv "$file" "${file%.*}@2x.${file##*.}"; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment