Bug 8366 - Do not create directories on destination (new --ignore-non-existing-dirs option?)
Summary: Do not create directories on destination (new --ignore-non-existing-dirs opti...
Status: NEW
Alias: None
Product: rsync
Classification: Unclassified
Component: core (show other bugs)
Version: 3.0.8
Hardware: All All
: P5 enhancement (vote)
Target Milestone: ---
Assignee: Wayne Davison
QA Contact: Rsync QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-09 18:22 UTC by carbncl
Modified: 2011-08-09 18:23 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description carbncl 2011-08-09 18:22:21 UTC
I'm trying to prevent creation of new directories on destination.
The goal is to populate an existing file tree (means using --recursive) only with new files, not folders+files.

The situation is quite simple, I sync and merge two file trees, A&B into one, C.
Then I add files to C tree, that I would like to sync back to A and B.
Both A&B trees are similar, but leaf directories differs.

I tried to ask to the mailing list first if it was possible with current options, without any answer, so I guess this is not possible. Would love to be wrong and that enhancement/new feature is not.

See mailing list for more details : http://www.mail-archive.com/rsync@lists.samba.org/msg27344.html
And superuser question : http://superuser.com/questions/316561