On 11/22/2011 6:51 AM, Paul Slootman wrote:
On Mon 21 Nov 2011, Brian K. White wrote:
On 11/19/2011 9:04 AM, francis.montag...@inria.fr wrote:

On Tue, 15 Nov 2011 23:49:18 +0100 "Brian K. White" wrote:

nj2:/opt/x # rsync -avvvn --force --delete --include=/tmp
--include=floof/ --exclude='*' /tmp/. co4::root/tmp/.

Detail: /tmp being the "root of the transfer", "--include=/tmp" is
wrong because it refers then to /tmp/tmp.

root of the transfer is always "/"
Call it bad policy if you want but the way I'm managing a collection
of more or less cookie cutter boxes is, all boxes have a rsync
daemon running, and /etc/rsyncd.conf includes:
[...]
[root]
         path = /

No, the path of your module is /, the root of a transfer if you use
"co4::root/tmp/." is /tmp/.  Don't confuse the two.


Paul

got it

--
bkw
--
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to