[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How are --exclude patterns interpreted?



Does --exclude follow the same rules as rsync?  I couldn't find
explicit details in the man page for tarsnap or tarsnap.conf (or the
website).  Am I not looking in the right place?

In particular:
Suppose I have a filesystem /foo and don't want /foo/tmp to be
backuped.   Should I specify --exclude=foo/tmp or --exclude=/foo/tmp?
I can't use --exclude=tmp because there are other directories called
"tmp".

Thanks,
Tom

-- 
Email: tal@whatexit.org
Skype: YesThatTom
Blog:  http://EverythingSysadmin.com
⬤ . . : . ) ● ● ● ●