rsync --exclude-from qns
I'm trying to do a sync of the root home directory to a folder call backup and excluding some files.
This is wat i executed:
rsync -a /root/ --exclude-from '/root/rules.txt' /root/backup/
My rules.txt is as below:
Somehow it doesnt read the rules.txt and it will always include the anaconda-ks.cfg file.
Anyone can help me?