今度は「解凍すると文字化けするかも.zip」と同じページで使われている「UTF8.zip」が文字化けします。-I cp932が悪さしてるようです。
unx か fat かを見極めてオプションを選択しようかと思ったのですが、同一zip内に同梱されている場合も多いのでこの手は使えそうにないですね。
-I と -O 両方活かすか、片方だけにするか、運用状況に合わせて選択するしかないのかしらん。
# zipinfo -I cp932 UTF8.zip
Archive: UTF8.zip
Zip file size: 428 bytes, number of entries: 3
drwxr-xr-x 2.0 unx 0 bx stor 11-Apr-05 13:09 UTF8/
-rw-r--r-- 2.0 unx 0 bx stor 11-Apr-05 13:09 UTF8/UTF-8_SHIFTJIS繝槭ャ繝怜庄閭ス.txt
-rw-r--r-- 2.0 unx 0 bx stor 11-Apr-05 13:08 UTF8/UTF-8固有文字列_( ◕‿‿◕ ).txt
3 files, 0 bytes uncompressed, 0 bytes compressed: 0.0%
#
# zipinfo UTF8.zip
Archive: UTF8.zip
Zip file size: 428 bytes, number of entries: 3
drwxr-xr-x 2.0 unx 0 bx stor 11-Apr-05 13:09 UTF8/
-rw-r--r-- 2.0 unx 0 bx stor 11-Apr-05 13:09 UTF8/UTF-8_SHIFTJISマップ可能.txt
-rw-r--r-- 2.0 unx 0 bx stor 11-Apr-05 13:08 UTF8/UTF-8固有文字列_( ◕‿‿◕ ).txt
3 files, 0 bytes uncompressed, 0 bytes compressed: 0.0%
#
余談ですが 571JPのunzip/zipinfo は少し旧いのかも。http://packages.ubuntu.com/ja/precise-u ... も入るかも知れません。
更新後のバージョン表示
もっとも、新しくしたところで結果は変わりませんが。# unzip --version
caution: both -n and -o specified; ignoring -o
UnZip 6.00 of 20 April 2009, by Debian. Original by Info-ZIP.