Forrest logo
tool overview
On this page you find all important commands for the CLI tool zip. If the command you are looking for is missing please ask our AI.

zip

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. It is analogous to a combination of the Unix commands tar(1) and compress(1) and is compatible with PKZIP (Phil Katz's ZIP for MSDOS systems).

List of commands for zip:

  • linux:zip:compress Compress the given directory or file.
    $ zip -r ${output_zip_file} ${input_directory}
    try on your machine
  • linux:zip:compress:with-password Compress the given directory or file with a password
    $ zip --password ${password} -r ${output_zip_file} ${input_directory}
    try on your machine
  • zip:archive:remove-file Remove files/directories from a specific archive ([d]elete).
    $ zip -d ${path/to/compressed-zip} ${filename_or_directory1 filename_or_directory2 ---}
    try on your machine
    explain this command
  • zip:tldr:0091a zip: Archive files/directories to a multi-part [s]plit zip file (e.g. 3 GB parts).
    $ zip -r -s ${3g} ${path-to-compressed-zip} ${filename_or_directory1 filename_or_directory2 ---}
    try on your machine
    explain this command
  • zip:tldr:3131f zip: the highest).
    $ zip -r -${0-9} ${path-to-compressed-zip} ${filename_or_directory1 filename_or_directory2 ---}
    try on your machine
    explain this command
  • zip:tldr:31801 zip: Archive files/directories e[x]cluding specified ones.
    $ zip -r ${path-to-compressed-zip} ${filename_or_directory1 filename_or_directory2 ---} -x ${path-to-excluded_files_or_directories}
    try on your machine
    explain this command
  • zip:tldr:5ede6 zip: Print a specific archive contents.
    $ zip -sf ${path-to-compressed-zip}
    try on your machine
    explain this command
tool overview