in reply to Cannot add "folder" information to Archive::Tar->add_data in Win32 (ActivePerl)
Apart from that, I don't understand what your problem is. I ran the script as posted, and it did exactly what I expected: created a gzipped tar file (with an odd name), containing two directories, with one file in each directory, and 13 bytes in each file. When I ran the shell command "tar xzf test.tar.tgz", it created the expected pair of directories in my current working directory, with the expected test*.txt file in each one.
What exactly are you looking for that you are not finding? (What is the "path information" you mentioned, and where do you think that should be?)
(UPDATE: Could it be that you are not using a "real" version of the "tar" utility to unpack the tar file created by your test script? What are you doing with the tar file that makes you think the directory structure is not there?)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Cannot add "folder" information to Archive::Tar->add_data in Win32 (ActivePerl)
by rasa (Initiate) on Nov 05, 2009 at 12:51 UTC | |
by graff (Chancellor) on Nov 05, 2009 at 14:44 UTC |