One related question ---

which one is better :

(a) Using tar to archive and compress, OR
(b) Using cpio to archive and then compressing it ?

----- Original Message -----
From: [EMAIL PROTECTED]
Date: Thursday, April 26, 2001 9:32 am
Subject: Re: How to tar and gzip a directory?

> 
> 
> Hi,
> 
>     The 'tar' command on unix has the feature to do both compress 
> & gzip after
> doing the 'tar'
> 
>    For tar & compress
> 
>    use this
> 
>                 tar -cfZ <the directory name> <o/p filename>
> 
>  For uncompressing & untaring the same
> 
>                 tar -Zxf <the file.tar.Z>
> 
> 
> 
>   For tar & gzip
> 
>             tar -cfz <the directory name> <o/p filename>
> 
> For gunzipping & untaring the same
> 
>                  tar -zxf <the file.tar.gz>
> 
> 
> Regards
> 
> 
> SwamiNathan P R
> 
> 

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs

Reply via email to