Environment variable question

Venkateswaran, Bhaskar Bhaskar.Venkateswaran at gs.com
Tue Oct 19 18:53:15 GMT 2004


I'm trying to run a command as follows:
  rsync -Lcav temp.txt datauser at mach1:\$DATESPATH/dat

The above returns the following err: 
  "mkstemp /dat/.temp.txt.oYaO9U failed: No such file or directory"

$DATESPATH is a variable defined in 'datauser's profile, but it looks like
the variable is not recognized in the context of this command. I have used
something similar before on a different user successfully, but this doesn't
seem to work. Can someone help me with this problem?

Appreciate your help. Thanks.
-------------- next part --------------
HTML attachment scrubbed and removed

More information about the rsync mailing list