filename paths different in server mode

Wayne Davison wayned at
Wed May 4 02:55:27 GMT 2005

On Tue, May 03, 2005 at 05:26:10PM -0600, Bob Proulx wrote:
>   $ rsync -a ewok::cadroot/release/bin/ .
>   $ ls
>   bin

Is your shell stripping off trailing slashes?  Try running a basic
shell, such as /bin/sh and see if that makes a difference.  You can also
use the -vv option to display the command that rsync is sending to the
remote daemon to see if the trailing slash is still there or not (2.6.4
mentions the command where earlier rsync versions did not).  I'm
doubtful that this is caused by rsync.

One potential work-around:  try adding a trailing dot after the slash:

  $ rsync -a ewok::cadroot/release/bin/. .


More information about the rsync mailing list