Created
March 2, 2016 03:22
-
-
Save piratefsh/4b35df840d0343096ed7 to your computer and use it in GitHub Desktop.
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
### batch convert image with imagemagick, preserve filename | |
for i in *.png; do convert "$i" -resize 400 "retina/${i%.*}@2x.png"; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment