AIX 上unzip 使用

从别的服务器上copy 一个unzip 文件,修改权限和属性后,能找到unzip 文件,也出来unzip 的帮助,但就是不能解压文件..

解决过程如下:

[@more@]

故障现象:

- copy 来的unzip 不能解压*.zip 文件,出现不能open XX.zip 的错误

解决方法:

- http://updates.oracle.com/unzips/unzips.html download 一个FOR 自己平台的unzip 安装文件

- 使用方法:

ncompress the file:
% uncompress unzip_
Put the file in a directory that is included in your PATH, typically /usr/bin or
/usr/local/bin.
Make sure that the file has execution permissions set. If not, run:
% chmod 751 unzip_
To unzip a file using this executable, just run:
% unzip_os

- unzip 自己带的help

UnZip 5.42 of 14 January 2001, by Info-ZIP. Maintained by C. Spieler. Send
bug reports to the authors at Zip-Bugs@lists.wku.edu; see README for details.

Usage: unzip [-Z] [-opts[modifiers]] file[.zip] [list] [-x xlist] [-d exdir]
Default action is to extract files in list, except those in xlist, to exdir;
file[.zip] may be a wildcard. -Z => ZipInfo mode ("unzip -Z" for usage).

-p extract files to pipe, no messages -l list files (short format)
-f freshen existing files, create none -t test compressed archive data
-u update files, create if necessary -z display archive comment
-x exclude files that follow (in xlist) -d extract files into exdir

modifiers: -q quiet mode (-qq => quieter)
-n never overwrite existing files -a auto-convert any text files
-o overwrite files WITHOUT prompting -aa treat ALL files as text
-j junk paths (do not make directories) -v be verbose/print version info
-C match filenames case-insensitively -L make (some) names lowercase
-X restore UID/GID info -V retain VMS version numbers
Examples (see unzip.txt for more info):
unzip data1 -x joe => extract all files except joe from zipfile data1.zip
unzip -p foo | more => send contents of foo.zip via pipe into program more
unzip -fo foo ReadMe => quietly replace existing ReadMe if archive file newer
-M pipe through "more" pager

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/7318139/viewspace-967983/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/7318139/viewspace-967983/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值