I am trying to pull from a remote server and exclude a directory on the remote server. For some reason it keeps pulling that directory I have excluded.
Here is the command I am running:
rsync -azP --exclude=/home/xxxx/public_html/batchupload firstname.lastname@example.org:/home/xxxxx/public_html /var/www/xxxxx/public_html
I have also tried:
rsync -azP email@example.com:/home/xxxxx/public_html --exclude=/home/xxxx/public_html/batchupload /var/www/xxxxx/public_html
What am I doing wrong here?