Advertisement
Guest User

Untitled

a guest
Nov 27th, 2014
155
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. cd /var/www/a38a53312e/img/
  4. rm *.jpg
  5. cd /var/www/gclcimages/
  6.  
  7. for d in *.jpg;
  8. do
  9. echo "Processing $d"
  10. convert -resize 900 -strip -interlace Plane -quality 40% $d /var/www/a38a53312e/img/$d
  11. done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement