mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-07 19:57:45 +03:00
Base: Add tar man page documentation
This commit is contained in:
parent
612827eff3
commit
81c5b35dce
Notes:
sideshowbarker
2024-07-19 00:04:25 +09:00
Author: https://github.com/bcoles Commit: https://github.com/SerenityOS/serenity/commit/81c5b35dce0 Pull-request: https://github.com/SerenityOS/serenity/pull/4825
44
Base/usr/share/man/man1/tar.md
Normal file
44
Base/usr/share/man/man1/tar.md
Normal file
@ -0,0 +1,44 @@
|
||||
## 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
|
||||
|
||||
* [`gunzip`(1)](gunzip.md)
|
||||
* [`unzip`(1)](unzip.md)
|
||||
|
Loading…
Reference in New Issue
Block a user