473,372 Members | 1,188 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,372 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 4772
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: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

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.