What is the official syntax for pulling multiple sources from a daemon? In analogy to a remote shell, I expected this to work: rsync rsync://matt@mattlaptop2:3141/module/'foo bar' dest/ But it doesn't; the daemon tried to access a file 'foo bar' with a space in its name. Using a newline like this does work because the newline becomes an argument delimiter in the daemon protocol: rsync rsync://matt@mattlaptop2:3141/module/'foo bar' dest/ Somehow I doubt this is the official, correct way of pulling multiple sources. I also tried this: rsync rsync://matt@mattlaptop2:3141/module/foo rsync://matt@mattlaptop2:3141/module/bar dest/ But rsync seemed to treat the second source as a local destination (which didn't exist) and ignore the dest/ entirely. I ran these tests with rsync 2.6.9. Has anything changed since then? Matt
On Sun, Aug 05, 2007 at 01:33:22PM -0400, Matt McCutchen wrote:> What is the official syntax for pulling multiple sources from a > daemon?It's the first example in the advanced usage section: rsync host::???modname/dir1/file1 modname/dir2/file2??? /dest The repeating of " modname/" is required.> But rsync seemed to treat the second source as a local destination > (which didn't exist) and ignore the dest/ entirely.The daemon code path was missing a arg-count sanity check that the non-daemon code path had. I'll be checking in a fix for this. ..wayne..
Maybe Matching Threads
- rsync deleting symbolic link unexpectedly
- [Bug 8838] New: rsync daemon chooses wrong destination place if space and the module name is part of it
- DO NOT REPLY [Bug 4757] New: Daemon mis-logs paths if module path in rsyncd.conf is relative
- [Bug 13587] New: Add a --dry-run way to show destination for each item
- How to replace slashes with back slashes