> 
> #!/bin/sh
> if ( -e /tmp/folder ) then
>     echo 'folder exists'
> else
>     echo 'no such folder'
> endif

Or if you have perl.

perl -e '{print "files exists\n" if (-e "path");}'

a little bit cleaner I really just depends on what you want to
do after the check.

//Matt


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to