req example uncompressing mybigdir.tar.gz file

Discussion in 'Perl Misc' started by monk, Mar 13, 2008.

  1. monk

    monk Guest

    I'm looking for the equivalent of the command `tar xvzpf
    mybigdir.tar.gz`

    I'd like to use core modules to uncompress gunzipped and tarballs.

    mybigdir.tar.gz. Inside the tarball, there are two subdirectories(foo
    and lando). Each subdirectory has regular ascii files.

    Do you mind providing an example which decompresses myfile.tar.gz
    while keeping the dir structure? dumping it into that same root
    directory or other directory.

    Thanks in advance,
     
    monk, Mar 13, 2008
    #1
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Joshua
    Replies:
    8
    Views:
    6,535
    Joshua
    Sep 29, 2004
  2. Slaanesh

    uncompressing data in memory

    Slaanesh, Jun 21, 2004, in forum: C++
    Replies:
    4
    Views:
    639
    Branimir Maksimovic
    Jun 23, 2004
  3. Slaanesh

    uncompressing data in memory

    Slaanesh, Jun 21, 2004, in forum: C Programming
    Replies:
    4
    Views:
    3,069
    Richard Bos
    Jun 23, 2004
  4. Claudio Grondi
    Replies:
    4
    Views:
    805
    Claudio Grondi
    Aug 20, 2005
  5. Replies:
    2
    Views:
    611
    Michael Hoffman
    Apr 24, 2007
  6. Ray Van Dolson
    Replies:
    0
    Views:
    450
    Ray Van Dolson
    Sep 23, 2009
  7. benoit Guyon
    Replies:
    2
    Views:
    387
    benoit Guyon
    Jul 26, 2005
  8. Replies:
    5
    Views:
    808
Loading...