unzip命令不能解压 ,求助

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
strivezxq
帖子: 2
注册时间: 2010-11-14 13:20

unzip命令不能解压 ,求助

#1

帖子 strivezxq » 2010-11-14 13:29

Ubuntu 10.10新装的,可以图行操作解压,不能用命令解压,命令可以压缩,因想装oracle,安装时也报这个
命令:unzip test.zip
出现提示:
UnZip 6.00 of 20 April 2009, by Debian. Original by Info-ZIP.

Usage: unzip [-Z] [-opts[modifiers]] file[.zip]
  • [-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 only
    -v list verbosely/show version info -T timestamp archive to latest
    -x exclude files that follow (in xlist) -d extract files into exdir
    modifiers:
    -n never overwrite existing files -q quiet mode (-qq => quieter)
    -o overwrite files WITHOUT prompting -a auto-convert any text files
    -j junk paths (do not make directories) -aa treat ALL files as text
    -U use escapes for all non-ASCII Unicode -UU ignore any Unicode fields
    -C match filenames case-insensitively -L make (some) names lowercase
    -X restore UID/GID info -V retain VMS version numbers
    -K keep setuid/setgid/tacky permissions -M pipe through "more" pager
    See "unzip -hh" or unzip.txt for more help. Examples:
    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
头像
parseeci
帖子: 1230
注册时间: 2009-11-19 15:03
来自: 娜美星

Re: unzip命令不能解压 ,求助

#2

帖子 parseeci » 2010-11-14 16:29

你wine一个好压,或者peazip就可以了
要wine哦~ 否则乱码乱死人哦~
头像
我就是我2
帖子: 1215
注册时间: 2008-12-13 10:55
来自: the Earth
联系:

Re: unzip命令不能解压 ,求助

#3

帖子 我就是我2 » 2010-11-14 17:21

方法不对啊。应该是这样

代码: 全选

unzip x foo.zip
另外

代码: 全选

unzip x foo.zip -d 目录
可以指定目录
苏东坡问佛印道:“人人皆念观世音菩萨,观世音菩萨念谁?”
佛印答道:“念观世音菩萨。”
苏东坡诧异:“为何亦念观世音菩萨?”
曰:“求人不如求己。”


dropbox 誰好奇,誰來點
勞碌一生又如何,虛度一生又如何,你過得開心嗎?人活著就要開心嘛!
回复