I am having trouble calling tar.exe from a perl script. From within perl (calling something like the system or exec call), I can extract or list the contents of a tar file, but when I try to create a tar inside perl I get the errors:
tar: Cannot open thefilename: Function not implemented
tar: Error is not recoverable: exiting now.
I adjust the code to extract a tar, rather than create or list the contents of a tar and everything is great.
If I run tar cf.... from the command line, everything works well.
bsdtar works without problems, however I need to extract the tar and pipe the contents to md5sum. When I do with bsdtar, the file hash is different than to the original file (something else is in the output with the file) whereas with ordinary tar, everything is fine.
I'd use zip (I am not fussy), but it created a random filename which I can't predict, and hence cant monitor the growth of the file (something I want to do).
I am not using tar with gzip (the z switch) but it doesn't fix anything if I do.
Can someone help? With any of tar, bsdtar or zip?
Thanks.
------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________ GnuWin32-Users mailing list GnuWin32-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gnuwin32-users