[Bug 2375] Support (a la Gnu tar) for --directory DIR
samba-bugs at samba.org
samba-bugs at samba.org
Tue Feb 22 18:57:16 GMT 2005
https://bugzilla.samba.org/show_bug.cgi?id=2375
------- Additional Comments From wayned at samba.org 2005-02-22 11:57 -------
> I may be missing something, but are you sure that:
>
> echo "usr/local/blackboard" | rsync -aRz --files-from=- /
> rsync://localhost:1873/backup/client/rsync/
>
> would accomplish the same? I tried it, but it does not transfer any (of the
> changed) files...
Sorry, I forgot to include the -r option (because -r is not implied by -a when
--files-from is used). Note also tat the -R option you added is already assumed
by --files-from. So replace the "R" with a "r" and it will work.
However, as I said in my first reply, you don't need to do any of that for a
transfer that is rooted at "/". Just do this:
rsync -aRz /usr/local/blackboard rsync://localhost:1873/backup/client/rsync/
Rsync knows how to properly handle a leading slash on the source path.
--
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.
More information about the rsync
mailing list