Skip to content

Instantly share code, notes, and snippets.

@aliaksandr-s
Created August 20, 2016 06:54
Show Gist options
  • Save aliaksandr-s/96ba92a28b278d0b3082c0f6a8662360 to your computer and use it in GitHub Desktop.
Save aliaksandr-s/96ba92a28b278d0b3082c0f6a8662360 to your computer and use it in GitHub Desktop.
Image optimization
mogrify -quality 80% *.jpg
-----script----
for file in *.jpg; do
convert "$file" -quality 80% "$file"
done;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment