On Thu, Jun 04, 1998 at 11:40:52AM -0400, Richard E. Hawkins Esq. wrote:
> I'm trying to create tar files less than 100Mb to fit on zip disks (by the
> way, my rebate arrived last week, only a year and a half & a class action
> suit late).

> 
> As I read the man page and info page, 
> 
> tar -zcv -f hawktar980603 . -X News -X www -X Office40
> 
> should tar the local directory to the new file hawktar980603 save for the 
> directories News, www, and Office40
> 
> however, it cheerfully includes all of these.  I get the same results with an 
> --exclude-from exfiles, where exfiles lists these?  am I missing somethign?
try

tar -zcv -f hawktar980603 . -X 'News*' -X 'www*' -X 'Office40*'

(the quoting is to keep the shell from globbing '*')

Nils

--
*-----------------------------------------------------------------------------*
| Quotes from the net:  L> Linus Torvalds, W> Winfried Truemper               |
| L>this is the special easter release of linux, more mundanely called 1.3.84 |
| W>Umh, oh. What do you mean by "special easter release"?. Will it quit      |
* W>working today and rise on easter?                                         *

Attachment: pgpqG4UpHWEQx.pgp
Description: PGP signature

Reply via email to