Hi,
When trying to chk if a folder exists on remote server using the below command (got it from other thread in this forum)
"if[-n `ssh vchr@s1.mrix.local '/cygdrive/d/shares/projects\ data\ load/test\ files/$SCPED_FILES$name$code'`];
then
echo "Directory exists";
else
echo "Directory not available";
fi"
I get error " syntax error: `then' unexpected". Please help....
Thanks