1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-15 05:54:59 +00:00
serenity/Base/usr/share/man/man1/zip.md
kleines Filmröllchen afaea38be2 Base: Expand "See Also" sections of many manpages
This commit focuses on the CLI utilities.
2023-07-06 10:03:48 +01:00

35 lines
650 B
Markdown

## Name
zip - create ZIP archives
## Synopsis
```**sh
$ zip [--recurse-paths] [zip file] [files...]
```
## Description
zip will pack the specified files into a zip archive, compressing them when possible.
The program is compatible with the PKZIP file format specification.
## Options
* `-r`, `--recurse-paths`: Travel the directory structure recursively
* `-f`, `--force`: Overwrite existing zip file
## Examples
```sh
# Zip
$ zip archive.zip file1.txt file2.png
Archive: archive.zip
adding: file1.txt
adding: file2.png
```
## See also
* [`unzip`(1)](help://man/1/unzip)
* [`gzip`(1)](help://man/1/gzip)
* [`tar`(1)](help://man/1/tar)