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: