...sequence number, and 'CTR' = a counter that I just increment for each file in the dir. So, I have the following code:
ctr=0
for i in *.tif
do
let "ctr+=1"
newtifname=$DATEDIR"_"$SEQ"_"$ctr".tif"
mv "$i" $newtifname
done
But when I execute this code, I get this...