public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Michael Schmarck <michael.schmarck@habmalnefrage.de>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user]  Re: Re: tar a brand new Gentoo install to a USB drive for safe keeping?
Date: Thu, 08 May 2008 10:00:13 +0200	[thread overview]
Message-ID: <fvubud$u6j$1@ger.gmane.org> (raw)
In-Reply-To: 20080506223334.1baf6612@loonquawl.digimed.co.uk

Neil Bothwick <neil@digimed.co.uk> wrote:

> On Tue, 06 May 2008 14:40:08 +0200, Michael Schmarck wrote:
> 
>> > 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.
> 
> However, this thread is specifically about using tar on /Gentoo, which
> does use GNU tar.

Well, nonetheless I think that it's a bad idea to get too used to
GNUisms. Especially, if there are so easy "workarounds".

>> Hence I think, that it is a good idea to  keep on using z or j.
> 
> That really depends on the level of portability your scripts need. Using
> z or j is more portable, but also more complex for scripting.

That's rather a question of how complex the "environment" is, that the
script needs to deal with. If you really want to throw all different
sort of things at your script (like .tar.gz, .tar.Z, .tar.bz2, .tar.lzma),
then yes, the script would get more complex.

Michael

-- 
gentoo-user@lists.gentoo.org mailing list



  reply	other threads:[~2008-05-08  8:05 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               ` Michael Schmarck [this message]
2008-05-07 16:01             ` Steven Lembark

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='fvubud$u6j$1@ger.gmane.org' \
    --to=michael.schmarck@habmalnefrage.de \
    --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