Shell or rsync issue?

Wayne Davison wayned at samba.org
Sat Feb 21 22:38:28 GMT 2004


On Fri, Feb 20, 2004 at 03:46:23PM -0500, Aaron W Morris wrote:
>   rsync -rptv user at host::module/remotedirectory/ /local/directory/
> 
> will sync the files using "/local" as the root and files are referenced 
> as "remotedirectory/file1", "remotedirectory/file2", etc.

I can't reproduce this.  Are you sure you didn't accidentally create an
extra set of files in the module dir remotedirecory/remotedirectory?
Or, to check if it might be a weird shell issue, try putting an "echo"
in front of the whole command and seeing if the trailing slash gets
removed.

..wayne..


More information about the rsync mailing list