如何使用zipnote命令? [英] How to use zipnote command?
本文介绍了如何使用zipnote命令?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试使用 zipnote
重命名 zip 存档中的文件,但我不知道如何正确使用它.已经有一个类似的问题,但它没有出于某种原因工作.
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.
当我尝试使用时:
printf "@ myfile.txt\n@=myfile2.txt\n" | zipnote -w archive.zip
我只是说:
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
我运行的是 OS X 10.9,但手册页没有提到与标准 linux zipnote
的任何区别.
I'm running OS X 10.9 but the manual page doesn't mention any difference to the standard linux zipnote
.
在 Debian 6.0 上它返回:
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 ***
推荐答案
此问题已在 zip 3.1 beta
这篇关于如何使用zipnote命令?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文