Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!att!news.cs.indiana.edu!arizona.edu!uazhe0.physics.arizona.edu!zazula From: zazula@uazhe0.physics.arizona.edu (RALPH ZAZULA) Newsgroups: comp.sys.next Subject: Re: File compressor Message-ID: <12FEB91111114@uazhe0.physics.arizona.edu> Date: 12 Feb 91 16:11:14 GMT References: <27B5D1B2.7226@ics.uci.edu> <130160@gore.com> Reply-To: zazula@uazhe0.physics.arizona.edu Distribution: usa,local Organization: University of Arizona Physics Department Lines: 37 Nntp-Posting-Host: uazhe0.physics.arizona.edu News-Software: VAX/VMS VNEWS 1.3-4 Lines: 37 In article <130160@gore.com>, jacob@gore.com (Jacob Gore) writes... [my text deleted...] >> TAR -> COMPRESS. You have to uncompress to look at the tar file contents. > >No, you don't: > > zcat directory.tar.Z | tar tvf - My understanding is that ZCAT is the same as UNCOMPRESS. That was my original comment: you have to UNCOMPRESS the TAR->COMPRESS file to get an index of the TAR file. > >> With something like ZIP, ARC, ZOO ... you can list the files without >> uncompressing them *AND* extract only the file(s) you want... > >You can extract only the files you want with tar too: > > zcat directory.tar.Z | tar xpvf - file-path-1 file-path-2 ... > You are right... I wasn't aware that TAR would let you select the files you wanted... >Jacob >-- >Jacob Gore Jacob@Gore.Com boulder!gore!jacob Thanks! |----------------------------------------------------------------------| | Ralph Zazula "Computer Addict!" | | University of Arizona --- Department of Physics | | UAZHEP::ZAZULA (DecNet/HEPNet) | | zazula@uazhe0.physics.arizona.edu (Internet) | |----------------------------------------------------------------------| | "You can twist perceptions, reality won't budge." - Neil Peart | |----------------------------------------------------------------------|