Imagemagick in linux için bir toplu iş nasıl yapabilirim bir dizin dönüştürmek

0 Cevap php

Ben hem nerede dönüştürülen dosya nereye gidecek tarama ve konumu belirtmek mümkün olmak istiyorum.

It's just there is a lot of conversions veI've got a script which should sort it for me. Currently I've tried

convert -resize 300x300 >  /media/usbdisk1/development/ephoto/richard/images/gallery/2007/29/normal/*.jpg /media/usbdisk1/development/ephoto/richard/images/gallery/2007/29/tn_med/$1.jpg

ve

for i in $( ls /media/usbdisk1/development/ephoto/richard/images/gallery/2007/29/normal); do  /usr/convert resize 360x360 > /media/usbdisk1/development/ephoto/richard/images/gallery/2007/29/normal/$i  /media/usbdisk1/development/ephoto/richard/images/gallery/2007/29/tn_med/$i done;

0 Cevap