This has been fixed in zip 3.1 beta
Question
I'm trying to use zipnote
to rename files in an zip archive but I can't figure out how to use it properly. There's already a similar question but it doesn't work for some reason.
When I try to use:
printf "@ myfile.txt\n@=myfile2.txt\n" | zipnote -w archive.zip
I just says:
zipnote error: Bad file descriptor
zipnote error: Temporary file failure (ziMZslgn)
This throws exactly the same error message which is weird to me:
zipnote test.zip > a.txt
zipnote -w test.zip < a.txt
I'm running OS X 10.9 but the manual page doesn't mention any difference to the standard linux zipnote
.
edit: On Debian 6.0 it returns:
zipnote error: Bad file descriptor
*** Error in `zipnote': free(): corrupted unsorted chunks: 0x0000000000d962e0 ***
zipnote error: Temporary file failure (ziw8B942)
*** Error in `zipnote': double free or corruption (!prev): 0x0000000000d962e0 ***
Solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow