Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Jan 2013 02:46:31 +0000 (GMT)
From:      Georg Reilinger <georgreilinger@yahoo.de>
To:        Fbsd8 <fbsd8@a1poweruser.com>
Cc:        "questions@freebsd.org" <questions@freebsd.org>
Subject:   Re: tar & compression
Message-ID:  <1358477191.42966.YahooMailNeo@web133201.mail.ir2.yahoo.com>
In-Reply-To: <50F8B3A3.9080909@a1poweruser.com>
References:  <50F8B3A3.9080909@a1poweruser.com>

next in thread | previous in thread | raw e-mail | index | archive | help

If it doesn't necessarily have to be tar, then I'd recommend using 7zip:

archivers/p7zip

It has among the best compression ratios.




________________________________
 Von: Fbsd8 <fbsd8@a1poweruser.com>
An: FreeBSD questions <questions@freebsd.org> 
Gesendet: 3:29 Freitag, 18.Januar 2013
Betreff: tar & compression
 
The man page for tar command says there a 4 different compress types you can use, xz, bzip, bzip2 and gzip.

Which one is the fastest and compresses the most?
I am using -z option for gzip and it sure is slow.
Hoping one of the other zip options are better.
What do you guys use?

Another question about tar is can I have tar create a compressed bkup
of 2 files and a directory tree all in single tar command?
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
From owner-freebsd-questions@FreeBSD.ORG  Fri Jan 18 02:53:11 2013
Return-Path: <owner-freebsd-questions@FreeBSD.ORG>
Delivered-To: questions@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 by hub.freebsd.org (Postfix) with ESMTP id 13F68D96
 for <questions@freebsd.org>; Fri, 18 Jan 2013 02:53:11 +0000 (UTC)
 (envelope-from fbsd8@a1poweruser.com)
Received: from mail-03.name-services.com (mail-03.name-services.com
 [69.64.155.195]) by mx1.freebsd.org (Postfix) with ESMTP id F0997799
 for <questions@freebsd.org>; Fri, 18 Jan 2013 02:53:10 +0000 (UTC)
Received: from [10.0.10.3] ([173.88.197.103]) by mail-03.name-services.com
 with Microsoft SMTPSVC(6.0.3790.4675);
 Thu, 17 Jan 2013 18:53:12 -0800
Message-ID: <50F8B917.1090401@a1poweruser.com>
Date: Thu, 17 Jan 2013 21:53:11 -0500
From: Fbsd8 <fbsd8@a1poweruser.com>
User-Agent: Thunderbird 2.0.0.17 (Windows/20080914)
MIME-Version: 1.0
To: Georg Reilinger <georgreilinger@yahoo.de>
Subject: Re: tar & compression
References: <50F8B3A3.9080909@a1poweruser.com>
 <1358477191.42966.YahooMailNeo@web133201.mail.ir2.yahoo.com>
In-Reply-To: <1358477191.42966.YahooMailNeo@web133201.mail.ir2.yahoo.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-OriginalArrivalTime: 18 Jan 2013 02:53:12.0284 (UTC)
 FILETIME=[F47A71C0:01CDF526]
X-Sender: fbsd8@a1poweruser.com
X-Authenticated-Sender: fbsd8@a1poweruser.com
X-EchoSenderHash: [fbsd8]-[a1poweruser*com]
Cc: "questions@freebsd.org" <questions@freebsd.org>
X-BeenThere: freebsd-questions@freebsd.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: User questions <freebsd-questions.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-questions>,
 <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions>;
List-Post: <mailto:freebsd-questions@freebsd.org>
List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-questions>,
 <mailto:freebsd-questions-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Fri, 18 Jan 2013 02:53:11 -0000

Georg Reilinger wrote:
> If it doesn't necessarily have to be tar, then I'd recommend using 7zip:
>
> archivers/p7zip
>
> It has among the best compression ratios.
>
>
> The man page for tar command says there a 4 different compress types you can use, xz, bzip, bzip2 and gzip.
>
> Which one is the fastest and compresses the most?
> I am using -z option for gzip and it sure is slow.
> Hoping one of the other zip options are better.
> What do you guys use?
>
> Another question about tar is can I have tar create a compressed bkup
> of 2 files and a directory tree all in single tar command?
>

Sorry,that will not work for me.
Has to be something that comes as part of the base system.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1358477191.42966.YahooMailNeo>