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
compund commands
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: compund commands
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
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
Fred,
Works like . . . Magick!
Also, looked at your scripts. A whole new realm to me. Spectacular.
Thanks very much!
~George
Works like . . . Magick!
Also, looked at your scripts. A whole new realm to me. Spectacular.
Thanks very much!
~George