One should note, however, that the compression options with tar only exist
under the GNU tar implementation and not the BSD tar version (last I
knew). It's nice to use them if they exist, but if you're ever doing
scripts which have to be portable, it's best to split the steps up :)

On Mon, 26 Feb 2001, Warren Melnick wrote:

> tar cIf tarfile.tar.bz2 /directory
>
> If you want a list of what is being tar'd you can use cIvf instead of cIf.
> Quickly:  c=create, I=bzip2, v=verbose, f=file
>
> ----------------
> Warren Melnick
> Director of Research and Development
> Astata Corporation
>
>
>
>
> -----Original Message-----
> From: Adriel Cardenas G. [mailto:[EMAIL PROTECTED]]
> Sent: Monday, February 26, 2001 2:30 PM
> To: [EMAIL PROTECTED]
> Subject: Re: How to use tar
>
>
> > I want to make the tarball of dir using "tar" and
> > "bzip2", could someone
> > tell me how to do that, the tar man page got me
> > totally confused.
> >
> > Thanks in advance for any help.
>
> #tar -c /your directory mynewtar
> #ls *.tar
> mynewtar.tar
>
> #gzip mynewtar.tar
> #ls *.gz
> mynewtar.tar.gz
>
> Good Luck
>
> =====
> -----------------------------------------------------------
> Adriel Cardenas G.    |Firma la peticion para LinDrivers
> Usuario Linux: 180950 |http://www.libranet.com/petition.html
> StormLinux 2.2.17     |Its Time to Close the Windows...
> ------------------------------------------------------------
>
> __________________________________________________
> Do You Yahoo!?
> Get email at your own domain with Yahoo! Mail.
> http://personal.mail.yahoo.com/
>
>
>
> _______________________________________________
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list
>
>
>
> _______________________________________________
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list
>

-- 
-Statux



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to