I am trying to exclude a dir using rsync but the folder is included anyway. I am using FC6
my command is
rsync -vax --exclude=/mnt/hourly.0/var/www/html/Connections/ /mnt/hourly.0/webserver/var/www/html/ /var/www/html/
I am moving the files from /mnt/hourly.0/var/www/html/ to /var/www/html/ but I do not want the files in /mnt/hourly.0/var/www/html/Connections/ to be moved over to /var/www/html