#Program to zip files with unicode characers archive
where archive is a new or existing zip archive and inpath is a directory or file path optionally including wildcards. The basic command format is: zip options archive inpath inpath. When bzip2 compression is selected, it replaces deflation as the default method.) zip automatically chooses the better of the two ( deflation or store or, if bzip2 is selected, bzip2 or store) for each file to be compressed.
(If bzip2 support is added, zip can also compress using bzip2 compression, but such entries require a reasonably modern unzip to decompress. zip has one compression method ( deflation) and can also store files without compression. Compression ratios of 2:1 to 3:1 are common for text files. An entire directory structure can be packed into a zip archive with a single command. The zip program puts one or more compressed files into a single zip archive, along with information about the files (name, path, date, time of last modification, protection, and check information to verify file integrity). Zip is useful for packaging a set of files for distribution, for archiving files, and for saving disk space by temporarily compressing unused files or directories. Zip supports macOS X, and on that OS, most Unix features are the same.
The zip and unzip programs can work with archives produced by PKZIP (supporting most PKZIP features up to PKZIP version 4.6), and PKZIP and PKUNZIP can work with archives produced by zip (with some exceptions). It is analogous to a combination of the Unix commands tar and compress, and it is compatible with PKZIP.Ī separate companion program, unzip, unpacks and uncompresses zip archives. Zip is a compression and file packaging utility for Unix, VMS, MSDOS, OS/2, Windows 9x/ NT/ XP, Minix, Atari, Macintosh, Amiga, and Acorn RISC OS.