Info-Zip Zip v3.1 Options ~~~~~~~~~~~~~~~~~~~~~~~~~ - Use stdout as the output. @argfile Parse argfile for command line arguments -a [EBCDIC] Translate to ASCII format. -aa Handle all files as ASCII text files. -ad Sort AppleDouble files. -as [UNIX, APPLE] Save Apple Double resource files in a sequestered directory. -A Adjust self-extracting executable archive. -AC [WIN32] Clear the archive bit of files included in the archive. -AF Enable argfile processing (default). -AF- Disable argfile processing. -AS [WIN32] Only include files that have the archive bit set. -b path Use path for temporary zip archive. -B [VM/CMS, MVS] Read file as binary. -Bn [TANDEM] Set Edit/Enscribe formatting options to n. -BC path Directory of backup control file. -BD path Backup directory. -BF Check entire text file for binary. -BL path Backup log directory. -BN name Backup name. -BT type Backup type. -c Add comments. -cd path Set current directory before processing. -C [VMS] Preserve case all on VMS. -C2 [VMS] Preserve case ODS2 on VMS. -C5 [VMS] Preserve case ODS5 on VMS. -Cl Convert names to lower case. -Cu Convert names to upper case. -CRC flag [BBC] Select CRC routine. -d Delete entries. -db Display running byte count/bytes remaining. -dc Display running count of entries zipped/entries remaining. -dd Display dots while each entry is zipped. -de Display estimate of time to finish the archiving operation. -debug [BBC] Turn debugging output on. -df [MacOS] Include only data-fork of files. -dg Display progress dots for the archive instead of for each file. -dr Display estimate of rate entries are being zipped in bytes/second. -ds size Set amount of input file processed for each dot displayed. -dt Display the current time as each entry is started. -du Display the uncompressed size of each entry. -dv Display the volume (disk) number each entry is being read from. -D Do not create directory entries. -DF Create archive that contains all new and changed files since archive created. -e Encrypt zip archive. -et Trad encrypt, don't use data desciptors. -E [OS/2] Use .LONGNAME Extended Attribute as filename. -f Freshen. -fd Force use of data descriptors. -fz Force use of Zip64 extensions. -F Fix the zip archive. -FF Fix harder. -FI [Unix] Read contents of any FIFO encountered. -FS Synchronize the contents of an archive with the files on the OS. -g Grow the archive instead of creating a new one. -G (unused) -h Display the zip help information. -hh Display extended zip help information. -help Display extended zip help information. -H (unused) -i files Include only the specified files. -i@filename Include those files listed in filename. (not in v3) -ic [VMS, WIN32] Ignore case when matching archive entries. -I [Acorn] Don't scan Image files. -j Junk pathname of stored file. -jj [MacOS] Record Fullpath (+ Volname) -J Junk any prepended data (e.g. a SFX stub) -k Attempt to convert (kludge) names and attributes to conform to MSDOS. -kf keyfile Get encryption key from file. -K (unused) -l Translate the Unix end-of-line character LF to MSDOS CR LF. -la Append to existing logfile. -lf logfilepath Open a logfile at the given path. -lF Open logfile with output name as logname. -li Log all information messages. -ll Translate the MSDOS end-of-line CR LF into Unix LF. -lu Put paths in logfile in UTF-8. -L Display the zip license. -m Move specified files into the archive, ie delete the source files. -M size [BBC] Maximum file transfer buffer size. -MM All input patterns must match at least one file. -MV m [MVS] Set MVS path translation mode to m. -n suffixes No compression of specified file suffixes. -nodir [BBC] Do not add a zip catalogue. -nw Do not perform internal wildcard processing. -N [Amiga, MacOS] Save filenotes as zipfile comments. -o Set modified time of archive to oldest time of entries in the archive. -O output-file Output to output-file instead of existing archive. -p Include relative file paths (default) -pa Prefix paths of added entries. -pn Remove ANSI 7-bit password restriction. -pp path Prepend path to stored entries. -ps Allow passwords shorter than minimum. -pt Time zip operation. -pu When testing, pass password to unzip. -P password Use password to encrypt zipfile entries. -q Quiet. -quit command [BBC] command to execute on termination. -Qn [QDOS] store information in the file header. -r Traverse directory structure recursively. -resume [BBC] Restart zipping a prematurely terminated archive. -R Traverse directory structure recursively and match pattern. -RE [WIN32] Enable [] matching. -s splitsize Enable creating a split archive and set the split size. -sb If using split pause mode, ring the bell when zip pauses. -sc Show the command line starting zip, then exit. -sd Show debugging information. -sf Show the files that would be operated on, then exit. -sF Add information to -sf listing. -si Show process ID of zip process. -so Show all available options supported by this version of zip. -sp Enable split pause mode. -ss Show current suffix settings. -st Enable stream mode. -su Show Unicode version of the path if exists. -sU Show only the Unicode version of the path. -sv Enable various verbose messages while splitting. -S file [BBC] suffix (MimeMap) reference file. -S [MSDOS, OS/2, WIN32 and ATARI] Include system and hidden files. -S [MacOS] Include finder invisible files. -SI name When taking input from stdin store it as name in archive. -t mmddyyyy -t yyyy-mm-dd Ignore files modified prior to specified date. -t dd/mm/yyyy -tt mmddyyyy -tt yyyy-mm-dd Ignore files modified on or after specified date. -tt dd/mm/yyyy -T Test the new zip file. -TT cmd Use cmd instead of 'unzip -tqq' to test an archive. -TU path Path to unzip to test archive with. -TV Test verbose. -u Update. -U Copy entries from one archive to another. -UN v Determine what zip should do with Unicode file names. -UT Perform Unicode tests. -v Verbose. -V [VMS] Save VMS file attributes. -VV [VMS] Save VMS file attributes and all allocated blocks in a file. -w [VMS] Append version number of the files to the name. -wl [WIN32] Include paths>260 chars in archive. -ww [VMS] Append version number with a "." separator instead of ";". -ws Wildcards match only at a directory level. -W (unused) -x files Exclude the specified files. -x@filename Exclude the files matching patterns listed in filename. -X [OS2, VMS, Unix] Do not save Extended Attributes or uid/gid and file times. -X [BBC] Include extra info, cdate,ctime,acc,aux, etc. -y [Unix, WIN32] Store symbolic links as links. -yy [WIN32] Don't follow mount points. -Y method Specify encryption method. -z Prompt for comment for entire zip archive. -Z method Set the default compression method. -! [WIN32] Use priviliges to obtain all aspects of WinNT security. -# Specify speed of compression, -8 is the default. -0 No compression (stored). -255 [BBC] No data stored, just an 'envelope' of file metadata. -$ [MSDOS, OS/2, WIN32] Include volume label. -? Display short help information. -@ Take list of input files from standard input. -@@ filename Take list of input files from file (used to be -i@filename). Need: * Don't output any extra fields. -nodata? -noinfo? Should be -X, and BBC -X should be something else. Possibly:? -V Save VMS file attributes. -E O/2 Extended Attribute as filename. -all ? Info-Zip UnZip v6.1 Options ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @argfile Parse argfile for command line arguments -a Convert text files ('ASCII'). -A [OS/2, Unix DLL] print help on DLL's API. -b Treat files as binary (default). -b [Tandem] Force text files to filecode type 180 ('C'). -b [VMS] Auto-convert binary files to 512-byte record format. -bb [VMS] Auto-convert all files to 512-byte record format. -B Save backup copy of overwritten files. -c Extract files to stdout/screen (CRT). -C Ignore case in filenames. -d exdir Directory to which to extract files. -da Extract to a directory of the archive's leafname. (eg extracts fred.zip into fred) -debug [BBC] Turn debugging output on. -D Skip restoration of timestamps on directories. -DD Skip restoration of timestamps on all extracted objects. -e (unused) -E [MacOS] Display contents of extra field during restore. -f Freshen. -F [Acorn] Suppress removal of NFS filetype extension from filenames. -F [non-Acorn] Translate filetype from RISC OS Extra field into NFS filetype extension. -g (unused) -G (unused) -h Display long help information. -help Display extended zip help information. -H (unused) -i [MacOS] Ignore filenames stored in MacOS extra fields. -I charset Select ISO character set. -j Junk paths. -j=N Junk paths of top N directory levels. -J [BeOS] Junk file attributes. -J [MacOS] Junk MacOS extra fields. -k [Unix-y] Keep file attributes. -ka [VMS] Keep ACLs on extracted objects. -K [AtheOS, BeOS, Unix] Write SUID/SGID/Tacky bit on extracted files. -l List archive files (short format). -L Force lowercase filenames from uppercase system. -m (unused) -M Pipe output through internal 'more' pager. -n Never overwrite existing files. -N [Amiga] Extract comments as Amiga filenotes. -o Overwrite existing files without prompting. -O charset [Unix] Select OEM character set. -p Extract files to pipe (stdout). -P password Use password to decrypt zipfile. -q Quiet. -qq Even quieter. -quit command [BBC] Command to execute on termination. -Q (unused) -r [Tandem] Remove file extensions. -R (unused) -s [OS/2, NT, MS-DOS] Convert spaces in filenames to underscores. -s [BBC] Convert characters in filenames to safe characters. -sc Show command line then exit. -si Show process ID. -so Show options then exit. -S [VMS] Convert text files into Stream_LF records. -t Test archive files. -T [most OSes] Set timestamp on archive(s) to that of the newest file in archive. -u Update files. -U Modify URF-8 filename handling. -UU Disable UTF-8 filename handling. -v Verbose or show program info. -V Retain VMS file version numbers. -w (unused) -W '*' wildcard only matches on leafname. -x file(s) Exclude specified archive members. -X [VMS, Unix, OS/2, NT, BBC] Restore owner/protection, user/group, access control info. -XX [VMS, Unix, OS/2, NT] Acquire privileges to restore -X info. -y (unused) -Y [VMS] Convert '.nnn' to ';nnn' on extracted filenames. -z Display only the archive comment. -Z Pass remainder of line to zipinfo command. -$[$] [MS-DOS, OS/2, NT] Restore volume label to removable [fixed] media. -: Allow extraction to traverse upwards with '../' in paths. -/ extensions [Acorn] swap 'name.ext' to 'ext.name' if 'ext' in supplied list. -? Display short help information. -0 Do not transform FAT/NFTS names. -2 [VMS] Force conversion of filenames to ODS2-compatible filenames. -255 [BBC] Extract metadata only. (was -Z) (could use -m=manifest) -^ [Unix] Allow control code in extracted filenames. Need: * Default truncation to ten characters, -xxx truncate to xxx characters or no truncate if xxx=0 -< 10 ? RISCOS won't like '<'. -fnmax 10 ? -fnlen 10 ? BBCUnZip defaults to fln%=10:IFfs=DFS:fln%=7 (should check for dfs-like fs, not fs=DFS) * Proper option for BBC Extract metadata only -m(etadata)? -m(anifest)?