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. Advertising

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. Claudio Grondi
    Replies:
    4
    Views:
    552
    Claudio Grondi
    Aug 20, 2005
  2. Replies:
    2
    Views:
    423
    Michael Hoffman
    Apr 24, 2007
  3. Ray Van Dolson
    Replies:
    0
    Views:
    320
    Ray Van Dolson
    Sep 23, 2009
  4. Ray Van Dolson
    Replies:
    0
    Views:
    817
    Ray Van Dolson
    Sep 25, 2009
  5. Replies:
    5
    Views:
    543
Loading...

Share This Page