|I think your problem is that you are not changing to the clay_DIR directory before you perform the copy.|
I have 3 observations in order of importance:
1) I pasted and cut this line onto my Solaris unix system:
clay_DIR="/media/SG100GB/Documents\ and\ Settings/Geoff/My\ Documents/Art/Claymation"
This and\ means line continuation, but I don't think the rest of the text is on the next line. Try removing \ and make sure all the text is on one line.
Also, what is the signifcance of the slashes around the and:
.....Documents\ and\ Settings....
I think your directory string setup is the biggest issue
2) I don't see a need to eval the cd command.
You might try checking the exit code after the cd to make sure it works:
if [[ $? -ne 0 ]]
echo "change directory failed: "
3) Since you are using a full path:
there is no need to:
If the other cd command is correct, your script should work.
Sorry, I didn't see your 2nd email. Yes, you probably are asking a lot of copy. Maybe you want to use the find command.