[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] Backing up with tar and gzip
- Subject: Re: [cobalt-users] Backing up with tar and gzip
- From: "Steve Werby" <steve-lists@xxxxxxxxxxxx>
- Date: Tue Feb 4 19:46:01 2003
- Organization: Befriend Internet Services LLC
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
"José Luis Chafardet G." <joseluis@xxxxxxxxxxxxxxxx> wrote:
> Thanks, now there is any way to create in 1 steep a tar.gz ? without to
> do tar -cf file.tar somedir
> And
> Gzip -cr9 "CANTREMEMBER" file.tar
The following will work on most platforms (definitely all RaQs).
tar cpz -f out.tar.gz <dir>
This will work on platforms which don't have a tar supporting the -z flag.
tar cp -f out.tar <dir>; gzip out.tar
Both generate out.tar.gz.
--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/