Subject: Re: bin/20071: pax-as-tar does not support gtar --exclude
To: None <perry@piermont.com>
From: Greg A. Woods <woods@weird.com>
List: netbsd-bugs
Date: 01/26/2003 16:04:17
[ On Sunday, January 26, 2003 at 15:29:28 (-0500), perry@piermont.com wrote: ]
> Subject: bin/20071: pax-as-tar does not support gtar --exclude
>
> 
> 	gtar has a "--exclude" option that permits you to exclude
> certain files, subdirs, etc. from being tared up. this is used by a
> number of backup scripts and programs.
> 	pax-as-tar only supports "--exclude-file" which is not the
> same thing at all.

No, it's not quite the same, but pax-as-tar (just as native pax) does
support '-s', which can be made to do the exact same thing (and more):

	File or archive member names that substitute to the empty string
	are not selected and will be skipped.

-- 
								Greg A. Woods

+1 416 218-0098;            <g.a.woods@ieee.org>;           <woods@robohack.ca>
Planix, Inc. <woods@planix.com>; VE3TCP; Secrets of the Weird <woods@weird.com>