public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Steven Lembark <lembark@wrkhors.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user]  Re: tar a brand new Gentoo install to a USB drive for safe keeping?
Date: Wed, 07 May 2008 12:01:22 -0400	[thread overview]
Message-ID: <4821D252.1020902@wrkhors.com> (raw)
In-Reply-To: <fvpjj8$7ho$1@ger.gmane.org>


>>>> tar xvfp SYSTEM.tar.bz2
>>> To extract bzip2 files with tar, you need to add the "j" option.
>> That hasn't been needed for a long time. Tar is able to detect bzip2 and
>> gzip compression and handle it automatically.
>
> That's only true for GNU tar. If you're also dealing with other
> systems where you might not have GNU tar, you might be "surprised"
> to find that "tar xvf file.tgz" doesn't work.
>
> Hence I think, that it is a good idea to  keep on using z or j.

Not all of them speak any squish factor, leaving:

    gzip -dc blah.tar.gz | tar xvf -;

(or bzip/bzip2) as the most portable route.

-- 
Steven Lembark                                            85-09 90th St.
Workhorse Computing                                 Woodhaven, NY, 11421
lembark@wrkhors.com                                      +1 888 359 3508
-- 
gentoo-user@lists.gentoo.org mailing list



      parent reply	other threads:[~2008-05-07 16:09 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-04  1:06 [gentoo-user] tar a brand new Gentoo install to a USB drive for safe keeping? Mark Knecht
2008-05-04 10:21 ` Jil Larner
2008-05-04 12:29   ` Neil Bothwick
2008-05-04 15:25   ` Mark Knecht
2008-05-04 23:12     ` Mark Knecht
2008-05-05  0:41       ` Mark Shields
2008-05-05  1:20         ` Mark Knecht
2008-05-05  2:54           ` Mark Knecht
2008-05-05  4:04       ` Ian Graeme Hilt
2008-05-05  8:37         ` Neil Bothwick
2008-05-05 12:17           ` Ian Graeme Hilt
2008-05-05 12:35             ` Neil Bothwick
2008-05-06 12:40           ` [gentoo-user] " Michael Schmarck
2008-05-06 21:33             ` Neil Bothwick
2008-05-08  8:00               ` [gentoo-user] " Michael Schmarck
2008-05-07 16:01             ` Steven Lembark [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4821D252.1020902@wrkhors.com \
    --to=lembark@wrkhors.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox