Problem with option -C
Wayne Davison
wayned at samba.org
Fri Apr 20 18:58:43 GMT 2007
On Fri, Apr 20, 2007 at 02:22:50PM -0300, Giancarlo Rubio wrote:
> When i use the option -C the .exe files doesn't copy to remotely host.
*.exe is a default exclusion rule in CVS, and rsync's -C option is setup
to have the same default exclusion rules as CVS. The only ways to work
around that (without patching the source) are:
- Add your own --include=*.exe rule.
- Use --filter=:C instead of -C so that the default ignore rules aren't
included, just the .cvsignore files (make sure they have all the
exclusions you need, such as *.o, etc.).
- Put a "!" line in your root .cvsignore file to start fresh with no
prior exclusions (save caveat about completeness).
There is a diff in the patches dir named cvs-entries.diff that auto-adds
all items in each dir's CVS/Entries file to the per-directory include
list, allowing any files that were committed to override the general
exclude rules. I have not approved that for the general release because
it only applies to CVS, and the SCM world is getting more diverse these
days.
..wayne..
More information about the rsync
mailing list