[CentOS] excluding directories in rsync

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

> 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 ..."?

Alfred