Advertisement
Guest User

Untitled

a guest
Jan 16th, 2017
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. # PNG Files
  2. ```
  3. find -iname '*.png' -exec optipng -o6 -preserve '{}' \;
  4. ```
  5.  
  6. # JPG Files
  7.  
  8. ```
  9. find -iname '*.jpeg' -o -iname '*.jpg' | xargs jpegoptim -o -p -t --strip-all --all-progressive
  10. ```
  11.  
  12. # GIF Files
  13. ```
  14. find -name '*.gif' -exec gifsicle --batch -O '{}' \;
  15. ```
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement