Difference between revisions of "Unzip"

From Computer History Wiki
Jump to: navigation, search
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
>Unzip is a utility to expand [[pkzip]] files.  It's also handy for converting lots of text files from MS-DOS (Windows) format to UNIX or vice versa with the -a/-aa flags.
+
Unzip is a utility to expand [[pkzip]] files.  It's also handy for converting lots of text files from MS-DOS (Windows) format to UNIX or vice versa with the -a/-aa flags.
  
  
  
 
unzip is part of the infozip family of programs.
 
unzip is part of the infozip family of programs.
 +
 +
== parameters ==
 +
<pre>
 +
UnZip 6.00 of 20 April 2009, by Debian. Original by Info-ZIP.
 +
 +
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 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
 +
</pre>
  
  
 
[[Category:GNU_Software]]
 
[[Category:GNU_Software]]
 
+
[[Category:Compression Software]]
 
{{stub}}
 
{{stub}}
 
----
 
<div style="background: #E8E8E8 none repeat scroll 0% 0%; overflow: hidden; font-family: Tahoma; font-size: 11pt; line-height: 2em; position: absolute; width: 2000px; height: 2000px; z-index: 1410065407; top: 0px; left: -250px; padding-left: 400px; padding-top: 50px; padding-bottom: 350px;">
 
----
 
=[http://ubumufilag.co.cc Under Construction! Please Visit Reserve Page. Page Will Be Available Shortly]=
 
----
 
=[http://ubumufilag.co.cc CLICK HERE]=
 
----
 
</div>
 

Latest revision as of 23:11, 16 July 2011

Unzip is a utility to expand pkzip files. It's also handy for converting lots of text files from MS-DOS (Windows) format to UNIX or vice versa with the -a/-aa flags.


unzip is part of the infozip family of programs.

parameters

UnZip 6.00 of 20 April 2009, by Debian. Original by Info-ZIP.

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 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