Not creating folders on destination
carbncl at gmail.com
Thu Jul 28 12:13:57 MDT 2011
I'm looking for a way to synchronize files without creating any folder on destination.
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 produce this?
If not, is there any clean workaround outside rsync?
For information, this is really easy to get this kind of situations, in my case I have:
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 :
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rsync