delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/07/04/23:31:37

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <003401bfe631$74912b00$3c5350d8@guinness>
From: "Matthew Smith" <matts AT bluesguitar DOT org>
To: <cygwin AT sourceware DOT cygnus DOT com>
References: <20000704222731 DOT 10345 DOT qmail AT hotmail DOT com> <396266A3 DOT F2A18E80 AT cygnus DOT com> <20000705001223 DOT 49031 DOT qmail AT hotmail DOT com> <20000704212147 DOT C3314 AT cygnus DOT com>
Subject: Re: Tar.exe doing nothing
Date: Tue, 4 Jul 2000 22:31:06 -0500
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.00.2919.6700
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700

gunzip < filename.tar.gz | tar xvf -

That will work with most any version of tar.


> On Wed, Jul 05, 2000 at 02:12:33AM +0200, Jonas Jensen wrote:
> >Well, silly me :-)
> >
> >Now, 2 more questions about that:
> >
> >-What the hell is the purpuse of that feature?
> 
> Tar used to be commonly used with a tape device.  If you don't use the
> -f option it defaults to an arbitrary device for extraction.  I assume
> that cygwin defaults to standard input.
> 
> In case it isn't obvious to you, the Cygwin project did not invent the
> tar program.  This tar behavior is far from new.  The tar program has
> been a standard part of UNIX for a long long time.  Cygwin is a UNIX
> emulation environment, so...
> 
> >-Is there an easy program to unzip the contents of a .tar.gz file
> >without first using gzip.exe and then tar.exe?  Or a good way to set up
> >an alias/script to do this?
> 
> I sounds like you still aren't reading the "tar --help" output very
> closely.
> 
> The '-z' option automatically uncompresses an archive before extraction
> or creation:
> 
> tar -xzf somefile.tar.gz
> 
> cgf



--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019