I'm using several CentOS 7 systems to backup home directories. Essentially, I use the following command:
Code: Select all
/usr/bin/rsync -tarlzvh -P --delete --exclude='tmp/*' /home/ 192.168.1.1::home
/home/user/files/images (always keep remote files)
How would I exclude /home/*/files/images/ from the --delete parameter?
I'd appreciate some help.