Archive::Tar on win32

Discussion in 'Perl' started by labrach, Sep 16, 2004.

  1. labrach

    labrach Guest

    hye,

    I'm using Archive::Tar to create .tar.gz file on either Unix or Win32
    boxes
    The archive is created with the class method :
    Archive::Tar->create_archive('test.tgz',9, @filelist);
    where @filelist contains a relative path file list extracted from a
    given directory
    This works fine on both platforms

    On unix I can extract my archive with
    gtar xvfz test.tgz
    as well as with :
    Archive::Tar->extract_archive ('test.tgz');

    On Win NT, the perl command works fine for extraction, but when using
    a front end application such as PowerArchiver, the files do not have
    the path stored in the archives, so that they are all extracted in the
    same directory



    Any tips ??

    thanks a lot

    labrach
     
    labrach, Sep 16, 2004
    #1
    1. Advertisements

  2. labrach

    Ian Sedwell Guest

    http://www.powerarchiver.com/support/


    On 2004/09/16 15:40, in article
    , "labrach" <>
    wrote:

    > hye,
    >
    > I'm using Archive::Tar to create .tar.gz file on either Unix or Win32
    > boxes
    > The archive is created with the class method :
    > Archive::Tar->create_archive('test.tgz',9, @filelist);
    > where @filelist contains a relative path file list extracted from a
    > given directory
    > This works fine on both platforms
    >
    > On unix I can extract my archive with
    > gtar xvfz test.tgz
    > as well as with :
    > Archive::Tar->extract_archive ('test.tgz');
    >
    > On Win NT, the perl command works fine for extraction, but when using
    > a front end application such as PowerArchiver, the files do not have
    > the path stored in the archives, so that they are all extracted in the
    > same directory
    >
    >
    >
    > Any tips ??
    >
    > thanks a lot
    >
    > labrach
     
    Ian Sedwell, Sep 21, 2004
    #2
    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. Claudio Grondi
    Replies:
    4
    Views:
    789
    Claudio Grondi
    Aug 20, 2005
  2. Replies:
    2
    Views:
    603
    Michael Hoffman
    Apr 24, 2007
  3. Ray Van Dolson
    Replies:
    0
    Views:
    444
    Ray Van Dolson
    Sep 23, 2009
  4. Austin Ziegler

    [ANN] Archive::Tar::Minitar 0.5.0

    Austin Ziegler, Sep 7, 2004, in forum: Ruby
    Replies:
    3
    Views:
    318
    Chris Ruzin
    Sep 7, 2004
  5. Austin Ziegler

    [ANN] Archive::Tar::Minitar 0.5.1

    Austin Ziegler, Sep 26, 2004, in forum: Ruby
    Replies:
    4
    Views:
    248
    Austin Ziegler
    Sep 27, 2004
  6. Bram Kuijper

    problems with archive-tar-external

    Bram Kuijper, Jul 31, 2007, in forum: Ruby
    Replies:
    2
    Views:
    183
    Bram Kuijper
    Aug 1, 2007
  7. Simon Mullis
    Replies:
    2
    Views:
    235
    Simon Mullis
    Sep 28, 2007
  8. benoit Guyon
    Replies:
    2
    Views:
    370
    benoit Guyon
    Jul 26, 2005
Loading...