473,399 Members | 3,038 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,399 software developers and data experts.

Archive::Tar on win32

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
Jul 19 '05 #1
1 4773
http://www.powerarchiver.com/support/
On 2004/09/16 15:40, in article
2c**************************@posting.google.com, "labrach" <la*****@free.fr>
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


Jul 19 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Motherchucker | last post by:
I'm running FreeBSD and trying to install mod_php4-4.3.3 from an updated ports tree. When it tries to fetch libtool-1.4.3.tar.gz, I get the following output and it eventually fails. I ended up...
3
by: chaica | last post by:
Hi, chaica@desktop chaica $ python Python 2.4 (#1, Jan 10 2005, 22:28:10) on linux2 I'm using tarfile module to create an archive. For my example I'm using Amsn file and directory tree. My...
1
by: Matthew Thorley | last post by:
Is there a module for unpacking tar files in python? how about bzip2 and gzips? I know I can use the gzip module for gzips but is there anything that can detect what format a file is in and...
4
by: Eric Nelson | last post by:
I get a gzipped tar archive e-mailed to me every day. Thanks to help from this newsgroup I have a daily c# program that scans my outlook mail, finds the archive and saves it to a file. Now I'd...
4
by: Claudio Grondi | last post by:
I need to unpack on a Windows 2000 machine some Wikipedia media .tar archives which are compressed with TAR 1.14 (support for long file names and maybe some other features) . It seems, that...
1
by: Flix | last post by:
The following piece of code should turn the folder IN and its subfolders into a single tar file located in the folder OUT: using ICSharpCode.SharpZipLib; using ICSharpCode.SharpZipLib.Tar; ...
1
by: ofzer | last post by:
Hi . Is there any way to add directory to a tar file. Nowadays , it is only possible to : $tar->add_files("filename"); I would like to add directory as well. Does anyone have any workaround or...
2
by: everlast | last post by:
I have tons of files on my desktop computer (results of numerical simulations), and I need to make backup for later postprocessing and to free my disk so i can continue running simulations on that...
0
by: Chris Brooks | last post by:
Jean-Paul Calderone wrote: Actually, I want the contents of the tar uncompressed and untarred. So, for example, I might be working with image data that has to go through several...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.