# runAlch_amrlm batch job to run multiple Image Alchemy conversions # (convert images in directories like /gc/amrl/gs/aa1, etc. #change this line to change directory #cd /mss/mal/mal1/ for j in $(ls -l | grep "^d" | cut -c55- ) do # also change this line to change directory cd /mss/mal/mal1/${j} for i in $(ls -l | grep "^d" | cut -c55- ) do # also change this line to change directory cd /mss/mal/mal1/${j}/${i} # change these lines to change alchemy params alchemy *.tif -- -c16 -Xd600 -+ -g -o -- alchemy *.jpg -- -c16 -Xd600 -+ -g -o -- done done