Page 1 of 1

compund commands

Posted: 2012-11-20T09:16:36-07:00
by geomcd
Am having difficulty combining a series of operations. Each of the operations works when done by itself.

Using Ubuntu Linux 12.10, I want to resize a folder of images and also rename those images in sequence. That is, the folder contains (only) images numbered in sequence named IMG_0545.jpg to IMG_0742.jpg. The images are all 2400x1600. I want to resize them all to 600x400, and rename them sequentially, starting with the new name gl1.jpg.

Thanks very much for guidance.

~George

Re: compund commands

Posted: 2012-11-20T11:39:52-07:00
by fmw42
Make two new folders, folder1 and folder1

Put all the images you want to convert and only those in folder1

cd to folder 1

convert * -resize 600x400 -scene 1 fullpath2/folder2/gl%d.jpg

Re: compund commands

Posted: 2012-11-20T15:34:45-07:00
by geomcd
Fred,

Works like . . . Magick!

Also, looked at your scripts. A whole new realm to me. Spectacular.

Thanks very much!

~George