# runAlch_music - batch job to run multiple Image Alchemy conversions # (convert images in directories like /mss/amrl//, etc. # change this line to change to directory on this level cd /music/gottlieb for i in $(ls -l | grep "^d" | cut -c55- ) do # change this line to reflect directory from above cd /music/gottlieb/${i} for j in $(ls -l | grep "^d" | cut -c55- ) do cd /music/gottlieb/${i}/${j} # change these lines to change alchemy params alchemy *t.tif -- -g1 --W --. rm *t.tif cd /music/gottlieb done done