I am creating a bash script. How can I perform a set of operations/transformations (of choice) on all .jpg
images in a different directory using ImageMagick
's convert
utility ? The converted image should be named *-change.jpg
Here's my code:
convert $file/*.jpg -flip $file/*-change.jpg