Re: converting .zip to .tar.gz or to .tar.bz2
On Aug 8, 1:37 pm, Michael DeBusk <chinos6...@mypacks.net> wrote:
> On Wed, 08 Aug 2007 07:36:12 GMT, Unruh <unruh-s...@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
> 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.
>
> --
> The "mypacks.net" address from which this message was sent is
> legitimate and not spam-trapped. It is, however, disposable.
Here is a situation where the man and/or info pages beat
the tar (hehehe) out of the usage strings (--help option for
some progs). Recommended reading for all unfamiliar w/
the Linux commandline, myself included ( I can get around
all right, but I am a far cry from a guru).
HTH,
Tarkin
|