https://bugzilla.samba.org/show_bug.cgi?id=3465





------- Comment #2 from [EMAIL PROTECTED]  2006-01-31 09:13 MST -------
Another work around might be to allow a --max-size of zero combined with a
--delete. --maxsize of zero is not supported in rsync. While it wouldn't
completely solve the original problem, it will at least delete files on the
receiver that are not in the senders directory without transferring anything.
Thus one would do the original transfer first:
--
rsync -vrptgz --delete -l -P -e rsh --stats --bwlimit=120  --timeout=1600
--files-from=files.txt /src somebox:/src
---

followed by something like:
--
rsync -rv --delete --max-size=0 -e rsh /src somebox:/src
--
to get rid of extra files. Of course, files could still exist on the receiving
side that in the senders directory tree that were not part of the --files-from
list. But its a start. I supposed I could try to exclude everything (but then
I'd need to learn about patterns :-). 


-- 
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.
-- 
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