Copying only *.files from tree

Gilson Soares g.soares at
Fri Sep 13 15:42:00 EST 2002

I'd like to replicate a directory structure but only copying *.<anything> 

rsync -a --include="*.rrd" --exclude="*" /var/www/html 

Didn't work.

One additional issue is *.rrd files only exists 2 levels bellow 
/var/www/html/, not in /var/www/html itself.

Do I missed something ?

-Gilson Soares

More information about the rsync mailing list