Context :I've scanned a lot of old pictures, that have writing on the back.
Using imagemagick, I can append the front and back of the picture like this :
montage out20.jpg out21.jpg -gravity center -geometry +1+1 -tile 1x2 out2021.jpg; rm out20.jpg out21.jpg; #(vertical append)
My problem is that I have a lot of pictures to apply the command on.
Is there a way to ask bash to apply "montage" to each odd file, adding automaticly the filename that comes after it ? The output filename is also a problem.