I am trying to backup files from cluster to my local computer. On the process, I am trying to avoid some unnecessary sub-directories from cluster being copied.
So I use
rsync -av email@example.com:/home/dir . --exclude firstname.lastname@example.org:/home/dir/subdir, where
subdir is the folder I am trying to avoid. However, the above option copies all files and folders including
subdir. How to exclude