Include and Exclude

fRANz andrea.francesconi at gmail.com
Thu Jun 16 08:00:07 GMT 2005


Hi guys,

actually with this command:

rsync -avzHP --include "3.4/" --include "3.4/**" --include "4.0/"
--include "4.0/**" --exclude "*" --bwlimit=30
rsync.example.foo::packages/centos/* .

i correctly rsync only 3.4 and 4.0 dirs of repository...
I would like to rsync only dirs "xxx" and "yyy" from 3.4 and 4.0, for example:

/packages/centos/3.4/someone/xxx/  - yes
/packages/centos/3.4/someone/ - no
/packages/centos/4.0/someone/xxx/  - yes
/packages/centos/4.0/sometwo/yyy/  - yes

Is it possible?
Thank you,
fRANz


More information about the rsync mailing list