To exclude a single directory with rsync use the following command
rsync -av -e --exclude='/directory-path/' ip:/destination-folder
rsync -av -e --exclude='/directory-path-1' --exclude='/directory-path-2/*' ip:/destination-folder
To exclude a single directory with rsync use the following command
rsync -av -e --exclude='/directory-path/' ip:/destination-folder
rsync -av -e --exclude='/directory-path-1' --exclude='/directory-path-2/*' ip:/destination-folder