I think you would just need to add the option
Code:
--exclude-from=/full/path/to/excludecache.txt
to your full rsync execution commands in the top and the third stanza of that script, eg,
Code:
rsync --archive --human-readable --verbose --stats --log-file=/var/log/gadmin-rsync/gadmin-rsync-backup.log.details '/media/store' '/media/backup'
so it becomes
Code:
rsync --archive --human-readable --verbose --exclude-from=/full/path/to/excludecache.txt --stats --log-file=/var/log/gadmin-rsync/gadmin-rsync-backup.log.details '/media/store' '/media/backup'
Try it out to see if that works as I think it should. I have never used nor have any knowledge of Gadmin rsync, so I may be totally wrong about all of this.
Bookmarks