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

Re: tar & exclude options



On Thu, Jun 04, 1998 at 11:40:52AM -0400, Richard E. Hawkins Esq. wrote:
> 
> 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

according tot he man page -X is the same as --exclude-from  so this should
not work
 
> 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?

I dunno...I never really go tit to work right
I think you want tar --exclude file --exclude file2 czv ./ (or some variation 
on that) 
as I said I never got it to work but..I thought it had something to do with a 
/ and the .. ... it may have been ./* or something
-STeve

> rick
> 
> -- 
> These opinions will not be those of ISU until it pays my retainer.
> 
> 
> 
> --
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> 
> 


--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: