304 North Cardinal St.
Dorchester Center, MA 02124
We recently had to run rsync excluding some identically named folders.
/var/www/html/cms/admin/uploads - (exclude) /var/www/html/cms/content/uploads - (sync)
Here is how we got around to getting this done
rsync -av --exclude=/admin/uploads/ /var/www/html/cms/ /var/www/html/syncfolder/ --progress
-a: Archive mode
-v: increase verbosity
–exclude: exclude files matching PATTERN