in reply to Re: help with Archive::tar
in thread help with Archive::tar
Thanks for the replies so far.
Still kind of new to Perl and always looking for insight when i hit a brick wall :)
I expect that it does not matter, but I noticed that the man page for Archive::Tar does say that to use "the full (unix) path (including file name)" as the second arg to the "extract_file" method. I suppose it might be surprising if this really made a difference, but you should be aware that in perl generally, you can use the unix-style forward-slash instead of dos-style back-slashes in path specs.
I could give this a shot and see what happens. Also I didnt know you can use unix-style forward slashes when you are working on a windows machine like that.
So for example instead of using something like U:\\EMM Loads (escapeing the backslash) i can do \U\EMM Loads ?
Anyway, I think the first reply is more likely to have nailed it. When you do "tar tf whatever.tar" on the solaris box, do you see one or more directory names and slashes in front of "toc"?
When i untar one of these on a solaris box the tarball would be named something like 81334567-JX4578.tar and when i untar it on the solaris box it would look like 81334567-COMPLETE/toc, 81334567-COMPLETE/<next file>, etc. Same if i just extract the whole tarball in winzip.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: help with Archive::tar
by graff (Chancellor) on Mar 31, 2006 at 03:12 UTC | |
by paulehr (Sexton) on Apr 03, 2006 at 12:20 UTC | |
by graff (Chancellor) on Apr 03, 2006 at 15:21 UTC | |
by paulehr (Sexton) on Apr 04, 2006 at 20:32 UTC | |
by paulehr (Sexton) on Apr 04, 2006 at 22:05 UTC | |
|
Re^3: help with Archive::tar
by mikeock (Hermit) on Mar 29, 2006 at 15:19 UTC |