Why are you even using the "find" command in there? "find" is for locating files when you are uncertain of the exact path. But in the example here, at least, you do know the exact path. So what are you trying to have it do?

Checking for existence of a known pathname is easy:

if [ -e "$testfile" ]; then echo "it lives!" ; else echo "not there" ; fi

Also, the syntax used there for "find" doesn't make full sense to me. The "find" command takes a directory as a parameter, and searches within it for "files" which match any other parameters you supply based on name, date, size, etc.. But it doesn't look as it is being used correctly here

Puzzled! smile