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_archiv e ('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 1 4793 http://www.powerarchiver.com/support/
On 2004/09/16 15:40, in article 2c************* *************@p osting.google.c om, "labrach" <la*****@free.f r>
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_archiv e ('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 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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 finding this
http://ftp.gnu.org/MISSING-FILES.README on the GNU website. Has anyone else
seen this and what are my options besides waiting for them to replace the
missing files?
===> Returning to build of mod_php4-4.3.3,1
===> ...
|
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 variables are like these ones:
path = /home/chaica/downloads/amsn-0_94/skins/Tux/smileys/shades.gif
|
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 decopress and unpack it
using the other methods?
thanks
-Matthew
|
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 like to unpack it, à là (cd targetdir; gunzip file|tar xvf -)
How do I do this from the same c# program?
Thanks for ideas & insight,
Eric
|
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 Pythons tarfile module is able to list far
more files inside the archives than WinRAR or 7zip or
TotalCommander, but will it unpack all available files
(largest archive size 17 GByte)?
If tarfile is build on TAR 1.14 or TAR 1.15 it will be
| |
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;
public static void Create_Tar_Archive(string IN,string OUT)
{
//IN and OUT are directories
|
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 another idea how to achieve it ?
|
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 comp.
I tried "tar -cf archive.tar file1 file2" logged in as a common user within that same user's directory.
when i burned the archive.tar on a DVD, i tried to unpack it on my laptop (both computers are running SUSE linux - desktop 10.2 - 32bit,...
|
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
transformations. I essentially want to pull the image out of the gz'ed tar
and into memory so I can work on it (as a file) and later write the changed
contents to somewhere else. But I don't really want to uncompress/untar and
save the file to disk and then...
|
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
| |
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |