>tar cvf - /mydir | gzip -c > mydir.tar.gz
>
>On Mon, Sep 18, 2000 at 09:39:30AM -0400, Burke, Thomas G. wrote:
>> what's the correct command to create a .tar.gz file in one step?
>Bryan Liles

Excuse me, but "tar cvzf mydir.tar.gz /mydir" is better.  OK, maybe not
better, but simpler.

MB
-- 
e-mail: [EMAIL PROTECTED]
    Bart: Hey, why is it destroying other toys?  Lisa: They must have
    programmed it to eliminate the competition.  Bart: You mean like
    Microsoft?  Lisa: Exactly.  [The Simpsons - 12/18/99]
Visit - URL:http://www.vidiot.com/  (Your link to Star Trek and UPN)



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

Reply via email to