Selectively overriding --cvs-exclude option
Wayne Davison
wayned at samba.org
Thu Feb 3 19:23:20 GMT 2005
On Wed, Feb 02, 2005 at 12:25:05PM -0500, William McKee wrote:
> Looking to the documentation, it seems to me that if I put an --include
> option before the --cvs-exclude option, I should be able to tell rsync
> to sync those files.
Manually specified --include/--exclude options always override the rules
read in from -C processing in 2.6.3. So, if the --include option isn't
working, it is likely that you didn't anchor the pattern properly.
Since you didn't mention the actual source/destination paths in your
command-line, I can't tell you exactly how to fix it, but you should be
able to just eliminate the directories from the start of the include
that are not a part of the transferred hierarchy and all should be well.
..wayne..
More information about the rsync
mailing list