I am using Manjaro Gnu/Linux. I have a directory named files, and under this directory, I have around 650 sub directories, with names such as: file1, file2, file3,...
Under each sub directory there are varying number of '.tif' images (say, from 2 to 11).
I want to write a command/script to automatically convert all '.tif' images to '.jpeg'/'.jpg' such that they remain in the same sub directory and have the same name as before.
I know that there is the command:
convert source.tif ~/converted.jpg
Can you please help?