The man page compares: rsync -av /src/foo /dest rsync -av /src/foo/ /dest/foo and states that in the second case no foo directory is created on the client. This behaviour would be useful in daemon mode, so that rsync -av host::module/lower/ /dest/ does not create a directory /dest/lower/ but copies everything into /dest/ Thanks
(In reply to comment #0) > This behaviour would be useful in daemon mode, so that > rsync -av host::module/lower/ /dest/ > does not create a directory /dest/lower/ but copies everything into /dest/ That is what the command currently does. Are you proposing a change?
The only thing different about daemon mode is that a trailing module name does not create a trailing directory (which it kinda looks like it should). For instance: rsync -aiv host::module /dest/ That command does not create /dest/module since the module name is not a part of the path.