[Bug 12378] why i cannot exclude dir/files if using option "--files-from"

2016-10-14 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=12378 --- Comment #6 from Kevin Korb --- If you want to sync files newer than say 3 days ago that is what --files-from is for... cd /source find . -mtime -3 -print | rsync -vai --files-from=- . /target The primary purpose of --files-from is to give rsyn

[Bug 12378] why i cannot exclude dir/files if using option "--files-from"

2016-10-14 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=12378 --- Comment #5 from Alessio --- (In reply to Wayne Davison from comment #4) Well if it's by design I will not go further. But for me it's a missing "feature" because one has to prepare the list beforehand while rsync could do the job "while it's t

[Bug 12378] why i cannot exclude dir/files if using option "--files-from"

2016-10-13 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=12378 Wayne Davison changed: What|Removed |Added Resolution|--- |WORKSFORME Status|NEW

[Bug 12378] why i cannot exclude dir/files if using option "--files-from"

2016-10-13 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=12378 --- Comment #3 from Kevin Korb --- I didn't say anything specific about a remote host. You excluded .cache then you told it to copy specific files some of which are in .cache. If there was a file named .cache inside of a directory that you told i

[Bug 12378] why i cannot exclude dir/files if using option "--files-from"

2016-10-13 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=12378 --- Comment #2 from Alessio --- (In reply to Kevin Korb from comment #1) Excuse me, but i don't get it, what's the difference between excluding (matching) the pattern from a --files-from and a remote host? debugging the rsync transfer from the r

[Bug 12378] why i cannot exclude dir/files if using option "--files-from"

2016-10-13 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=12378 --- Comment #1 from Kevin Korb --- It did not copy the directory you excluded it copied the files within that directory that you explicitly told it to copy and created the appropriate directories to allow that to happen. IOW, .cache is not relativ