use tar -xvf *.tar

Sincerely,
Yasin
http://www.cs.utexas.edu/users/yasin
---------------------------------------------------------------------------
Junior Officer
The Association for Computing Machinery (UTACM) http://acm.csres.utexas.edu
Department Of Computer Sciences                 http://www.cs.utexas.edu
The University Of Texas at Austin (UT)          http://www.utexas.edu
T. U. Taylor Hall 2.124                         Austin Texas 78712-1188
Phone 512 471 9522                              Fax 512 471 8885
---------------------------------------------------------------------------

On Fri, 28 May 1999, Doug McLaren wrote:

> Date: Fri, 28 May 1999 20:51:23 -0500
> From: Doug McLaren <[EMAIL PROTECTED]>
> To: Robert Giles <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
> Subject: Re: tar question
> 
> On Fri, May 28, 1999 at 04:17:06PM -0600, Robert Giles wrote:
> 
> | Hi folks - I'm trying to create a tar of a directory tree,
> | excluding all files with a *.bz2 extension.  I've tried "--exclude *.bz2"
> | and "-X exclude-file" (where exclude-file contains "*.bz2").  Any quick
> | way to accomplish this?
> 
> The --exclude option is only found in GNU tar, but that's what Linux
> uses, so you're in luck!
> 
> What you're looking for is :
> 
>    --exclude=\*.bz2
> 
> The = is needed, and the * must be quoted or else the shell will try
> to expand it, which is probably not what you want.
> 
> If you have multiple things to exclude, you can put multiple --exclude
> directives in there, or use the --exclude-from=FILE syntax.
> 
> -- 
> Doug McLaren, [EMAIL PROTECTED]
> ---------------------------------------------------------------------------
> Send administrative requests to [EMAIL PROTECTED]
> 

---------------------------------------------------------------------------
Send administrative requests to [EMAIL PROTECTED]

Reply via email to