Help with CVS related include pattern
cradle at umd.edu
Thu Jan 9 17:31:08 EST 2003
I'm trying to use rsync to make a local copy of only
a subset of a directory tree: all directories, and all
files within "CVS/" directories, but nothing else.
I thought this might work:
rsync -av --include '*/' --include 'CVS/*' --exclude '*' src src_cvs
It does recursively copy all directories (including CVS directories),
but it doesn't copy the files within the CVS directories.
What am I missing? I'm using rsync 2.5.5, and I see the behavior
on both Solaris and Cygwin.
More information about the rsync