I'm looking for a way to synchronize files without creating any folder on
Just "feed" any existing folder on destination side with files.
Here is an example:
Imagine I have that source :
And that I have this destination :
The wanted result of "rsync source destination" :
Of course my real situation involves thousand files/folders structure and I
would like not to use explicit list of synced folders.
Is there any rsync built-in option/exclude/filter combination that could
If not, is there any clean workaround outside rsync?
For information, this is really easy to get this kind of situations, in my case
A server with 2 disks, let's say A & B. And a local drive C.
I usually use rsync to sync (and merge) remote A & B into local C. (A+B >> C)
Then sometimes I just want to sync back some C files (by include/exclude rules)
into remote A and/or B. (C >> A) (C >> B)
Side note: this question is also posted there :
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