RESAJZ
for i in $( ls *.jpg); do convert -resize 50% $i re_$i; done
KOMPRESJA
find -type f -name "*.jpg" -exec jpegoptim --max=90 --strip-all {} \;
https://guides.wp-bullet.com/batch-resize-images-using-linux-command-line-and-imagemagick/
find /your/path/here -name '*.jpg' -size +10M -exec convert -strip -interlace Plane -resize 70% -quality 80% {} {} \;
find: ‘/your/path/here’
Brak komentarzy:
Prześlij komentarz