For Programmers: Free Programming Magazines  


Home > Archive > PERL Modules > September 2004 > Archive::Tar on win32









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Archive::Tar on win32
labrach

2004-09-16, 11:02 am

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
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com