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 ***
Était-ce utile?

La solution

This has been fixed in zip 3.1 beta

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top