1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-20 13:45:06 +00:00
serenity/Base/usr/share/man/man1/tar.md
kleines Filmröllchen 98c0c5e9e6 Help+Base: Add help://man URLs for links between man pages
The URLs of the form `help://man/<section>/<page>` link to another help
page inside the help application. All previous relative page links are
replaced by this new form. This doesn't change any behavior but it looks
much nicer :^)

Note that man doesn't handle these new links, but the previous relative
links didn't work either.
2022-01-11 00:24:57 +01:00

42 lines
846 B
Markdown

## Name
tar - file archiving utility
## Synopsis
```**sh
$ tar [--create] [--extract] [--list] [--verbose] [--gzip] [--file FILE] [PATHS...]
```
## Description
tar is an archiving utility designed to store multiple files in an archive file
(tarball).
Files may also be compressed and decompressed using GNU Zip (GZIP) compression.
## Options
* `-c`, `--create`: Create archive
* `-x`, `--extract`: Extract archive
* `-t`, `--list`: List contents
* `-v`, `--verbose`: Print paths
* `-z`, `--gzip`: compress or uncompress file using gzip
* `-f`, `--file`: Archive file
## Examples
```sh
# List the contents of archive.tar
$ tar -t -f archive.tar
# Extract the contents from archive.tar.gz
$ tar -x -z -f archive.tar.gz
# Extract the contents from archive.tar
$ tar -x -f archive.tar
```
## See also
* [`unzip`(1)](help://man/1/unzip)