On Tue, May 31, 2011 at 11:42:24 +0300, Michael Sioutis wrote:
> Hello!
> 
> I can't find it in the man page, and it seems it is not supported (?)
> I am trying to backup some folders and want to exclude some and nth
> will work. I've tried:
> --exclude=/folder/
> --exclude="/folder/
> --exclude /folder
> --exclude "folder"
> 
> I will get an error: "--exclude... directory doesn't exist".
> 
> Excluding will work in Linux.
> 
That is a GNU extension. You can work this around with find(1) and the
tar(1)'s '-I' option.


Daniel

-- 
LIVAI Daniel
PGP key ID = 0x83B63A8F
Key fingerprint = DBEC C66B A47A DFA2 792D  650C C69B BE4C 83B6 3A8F

Reply via email to