[CentOS] rsync exclusions

Joseph L. Casale JCasale at activenetwerx.com
Tue Oct 6 16:27:34 UTC 2009


>can I simply do:
>
>rsync -avx --exclude=/home/backup / /mnt/sdb2/

The exclude is relative from the path specified in the source.

Check this out:
http://articles.slicehost.com/2007/10/10/rsync-exclude-files-and-folders




More information about the CentOS mailing list