Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save anothergituser/2ec27c03e196be531a7f to your computer and use it in GitHub Desktop.
Save anothergituser/2ec27c03e196be531a7f to your computer and use it in GitHub Desktop.
find . -iname "*.png" -exec file {} \; | awk '{print "convert source.png -resize",$5"x"$7,"out/"$1}' | sed 's/\(,\|:\|\.\/\)//g' > convert.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment