Article 6JPJN [SOLVED] problem with rsync exclude

[SOLVED] problem with rsync exclude

by
apolinsky
from LinuxQuestions.org on (#6JPJN)
I use rsync to backup my thunderbird mail directory every night. I am tring to exclude the cache2 directory using the following command:
rsync -avzrcp --exclude '/home/xxx/.thunderbird/yc4iwpsm.default-default/cache2' /home/xxx/.thunderbird /media/nas2/xxx

In the the test, the cache2 directory (and its contents) were copied. I have obviously made a mistake but so far don't see it.

Thank you.
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments