View Single Post

  #9 (permalink)  
Old 08-08-2007
Unruh
 
Posts: n/a
Default Re: converting .zip to .tar.gz or to .tar.bz2

Michael DeBusk <chinos6398@mypacks.net> writes:

>On Wed, 08 Aug 2007 07:36:12 GMT, Unruh <unruh-spam@physics.ubc.ca> wrote:


>> a) you are confused about the tar syntax. under -c option, the -f
>> filename is the OUTPUT filename, not the input filename. Thus your
>> first and third options are just wrong.


>No, I understood that the -f filename is the output filename. I got it
>wrong because I couldn't figure out how to put the filenames on the


The filename has to occur IMMEDIATELY after the f.

>command line. I'm still pretty new at tar and gzip, and at the Linux
>command line in general. I'm figuring it out, though, I think.


>> b) unzip -p sends only the file data, not the filenames, etc to
>> stdout. Ie, tar gets a stream of junk and it has no idea what to call
>> that file.


>THAT is the problem, then. I was wrong in my original premise. Thanks.


Reply With Quote