Bash script to convert TIFFs into JPGs

Posted in Bash, Mac, SIPs on February 08, 2016 · 1 min read
Sometimes I will receive TIF images and while there is nothing wrong with TIFFs I prefer to use JPGs in my digital content.

The below script utilizes SIPs and allows the user to add all of their TIFs into a directory and the script for convert the TIFs to JPGs and when completed it will move the TIFs into a directory named by the global variable TIFFOLDER. If you have hidden files showing and you always see the dreaded .DS_Store file this script will nuke that file after the script has ran.

To run the script set the path in the variable WORKING, open a terminal, point to the location of the script and execute it with bash tif-to-jpg.sh.

The script:

Help the site go ad free:
Storm Trooper