I've got this in a cron job:
rsync -e ssh -azv /home/username NNN.NNN.NNN.NNN:/backup/webserver --exclude-from exclude-list.txt --delete-excluded
Then I have a file in the user's home directory that calls this script called exclude-list.txt with this:
/home/username/websites/directory1
/home/username/websites/directory2
/home/username/websites/logs
/home/username/directory3
/home/username/directory4
Yet the files in the exclude-list.txt are still being rsynced.
Any thoughts on why these files are not being excluded?