How to create resized versions of the images in a whole directory?

for file in *.jpg; do 
  convert -size 1024x768 -scale 1024x768  -quality 75 $file ${file/.jpg/.web.jpg};
  mv ${file/.jpg/.web.jpg} $file;
done;

Posted

in

,

by

Tags:

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.