Than the previous example using the -r option, because zip can takeĪdvantage of redundancy between files. This generally produces better compression Would compress the output of the tar command for the purpose of backing Pressed, in which case it will read the file from standard input,Īllowing zip to take input from another program. Zip also accepts a single dash ("-") as the name of a file to be com. Size for the purpose of backing up the current directory. Would write the zip output directly to a tape with the specified block Which case it will write the zip file to standard output, allowing the zip will also accept a single dash ("-") as the zip file name, in name "*." -print | zip source that the pattern must be quoted to keep the shell from expanding ForĮxample, to archive all the C source files in the current directory andįind. Used to powerful effect in conjunction with the find(1) command. If the file list is specified as zip takes the list This, foo.zip contains foo/file1, foo/file2, and foo/file3, with Will replace foo/file1 in foo.zip and add foo/file3 to foo.zip. Tically named entries in the zip archive or add entries for new names.įor example, if foo.zip exists and contains foo/file1 and foo/file2,Īnd the directory foo contains the files foo/file1 and foo/file3, then: When given the name of an existing zip archive, zip will replace iden. zip automatically chooses theīetter of the two for each file to be compressed. zip has one compression method (deflation) and canĪlso store files without compression. Compression ratios of 2:1 to 3:1 are com. An entire directory structure can be packed into a zip ar-Ĭhive with a single command. Of last modification, protection, and check information to verify file ![]() The zip program puts one or more compressed files into a single zip ar-Ĭhive, along with information about the files (name, path, date, time The program is useful for packaging a set of files for distribution įor archiving files and for saving disk space by temporarily compress. Unzip 5.0p1 (or later versions) to extract them.įor a brief help on zip and unzip, run each without specifying any Note that PKUNZIP 1.10 cannot extractįiles produced by PKZIP 2.04 or zip 2.31. Unzip(1L) programs can work with archives produced by PKZIP, and PKZIPĪnd PKUNZIP can work with archives produced by zip. It is analogous to a combination of the UNIX commands tar(1) and com- press(1) and is compatible with PKZIP (Phil Katz's ZIP for MSDOS sys-Ī companion program ( unzip(1L)), unpacks zip archives. OS/2, Windows NT, Minix, Atari and Macintosh, Amiga and Acorn RISC OS. ![]() Zipcloak zipfile zipnote zipfile zipsplit zipfile DESCRIPTION zip is a compression and file packaging utility for Unix, VMS, MSDOS, Zip, zipcloak, zipnote, zipsplit - package and compress (archive) files
0 Comments
Leave a Reply. |