Extract file from tar home/

Bob Goodwin bobgoodwin at wildblue.net
Mon Jun 7 22:24:50 UTC 2010

On 07/06/10 18:08, jack craig wrote:
> it only makes sense, zip deflated the individual files and tar is
> ignorance of that requirement.
> hence the untar, then unzip.
> you might consider
> $tar czvf /tmp/bob.tar.gz  /home/bobg/
> then each file is compressed by tar on the way to the tarball.
> i think then you can do a
> $tar xzvf /tmp/bob.tar.gx /home/bobg/somefile
> and i think that might do what you want.
> but test first! :)

    No, that doesn't seem to work. I can list the whole thing  but not
    individual directories or files.

    That's ok, I just thought there might have been a way that I had missed.




More information about the users mailing list