rsync command exclude option

Kaushal Shriyan kaushalshriyan at gmail.com
Fri Jul 24 02:42:12 MDT 2009


Hi,

I have a question about rsync. under /etc/ha.d/ there is a directory
called resource.d
I want to exclude it i have /etc/ha.d/resource.d in exclude.txt
when i run rsync -av /etc/ha.d 172.20.0.3:/root/ttt/ --exclude-from=exclude.txt
I still see resource.d being rsynced too on the destination host

Am i missing something ?

Thanks,

Kaushal


More information about the rsync mailing list