ときたみです。
#宛先間違っていたので再送・・・
求めている回答かはわかりませんが。
% setenv LANG ja_JP.SJIS
% unzip -l xxx.zip
でどうでしょうか
On 2017/11/12 11:54, 丸山直昌 wrote:
統計数理研究所の丸山@ Windows大嫌い、です。
Windowsで作ったzipアーカイブを添付ファイルで送られてくると、 packageにあ
るunzipを使って解凍してますが、日本語のファイル名のファイルは取り出すこ
とはできても、ファイル名が復元できなくて、困ることがあります。(ファイル
名に重大な意味を込める人がいます。)
% unzip -l xxx.zip |nkf -w
などとしてもファイル名は見えません。これ何とかならないものでしょうか。
# Windows にファイル転送して見る、という回答はなしですよ。
[maruyama@pc01{1017}] ~% pkg info unzip
unzip-6.0_6
Name : unzip
Version : 6.0_6
Installed on : Fri Dec 9 01:28:23 2016 JST
Origin : archivers/unzip
Architecture : freebsd:10:x86:64
Prefix : /usr/local
Categories : archivers
Licenses : Info-ZIP
Maintainer : [email protected]
WWW : http://www.info-zip.org/UnZip.html
Comment : List, test, and extract compressed files from a ZIP archive
Options :
CHINESE : off
DOCS : on
ICONV : off
KOREAN : off
RUSSIAN : off
Annotations :
cpe : cpe:2.3:a:info-zip:unzip:6.0:::::freebsd10:x64:6
Flat size : 305KiB
(以下略)
--------
丸山直昌@統計数理研究所
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-users-jp
To unsubscribe, send any mail to "[email protected]"
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-users-jp
To unsubscribe, send any mail to "[email protected]"