Batch conversion of TIF files

It can be interesting to use the command line sometimes for batch conversion of image formats, when using linux-based OS. For example, to convert a directory filled up with TIF files into JPG files, you can do this:

eric@berlin:~/Images$ mkdir JPG_converted
eric@berlin:~/Images$ for i in *.tif ; do convert -quality 100 "$i" "JPG_converted/${i%.*}.jpg" ; done

Quick and easy!