[CentOS] excluding directories in rsync

Alfred von Campe alfred at von-campe.com
Wed Oct 3 03:40:57 UTC 2007

> I am trying to exclude a directory (and all file and sub-directories
> under that directory) when using rsync.
> I have spent two days on google, but everything that I can find there
> involves excluding individual files, not an entire directory.

Have you tried a simple "rsync --exclude remove_dir ..."?


More information about the CentOS mailing list