[GRLUG] Dumb rsync question
    L. V. Lammert 
    lvl at omnitec.net
       
    Wed Feb 27 16:45:14 EST 2013
    
    
  
OK, .. I'm trying to rsync a single file from a directory to a remote 
host, .. IME I thought rsync used the entire argument as the source, 
however it appears that rsync is separating the path from the 
filename - i.e. the file gets transferred to the user root directory, 
and the path gets stripped!
rsync -av public_html/lee remote:
"lee" arrives in the user home directory, instead of in "public_html" 
UNDER that user home directory. How does one preserve the target path 
of "public_html"?
	TIA,
	Lee
    
    
More information about the grlug
mailing list