Created
May 9, 2017 23:22
-
-
Save mac-chaffee/8ecf1fdf0ec494c12e17de434dd5fae2 to your computer and use it in GitHub Desktop.
Bash script to compress all files in a folder using ImageMagick
This file contains hidden or 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 img in *; do | |
| convert $img -quality 20% -verbose compressed_$img | |
| done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment