Copying only *.files from tree

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


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

rsync -a --include="*.rrd" --exclude="*" /var/www/html 
taurus::pegasusdata/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