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.
In reply to Re^2: help with Archive::tar
by paulehr
in thread help with Archive::tar
by paulehr
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |