One more thing... I think it's the wrong segment directory. You specified segments2 in other parts of your example. So shouldn't it be:
s1=`ls -d segments2/2* | tail -1` Howie
Dear Bryan, I think you have a problem with this line: s1='ls -d segments/2* | tail -1' The good command: s1=`ls -d segments/2* | tail -1` The ' <> ` Regards, Ferenc
