1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 17:27:35 +00:00

tar: Automatically recognize gzip archives

This commit is contained in:
Tim Schumacher 2022-02-17 23:35:11 +01:00 committed by Andreas Kling
parent 4487e515f7
commit b689e8b7f4
2 changed files with 12 additions and 4 deletions

View file

@ -5,7 +5,7 @@ tar - file archiving utility
## Synopsis
```**sh
$ tar [--create] [--extract] [--list] [--verbose] [--gzip] [--directory DIRECTORY] [--file FILE] [PATHS...]
$ tar [--create] [--extract] [--list] [--verbose] [--gzip] [--no-auto-compress] [--directory DIRECTORY] [--file FILE] [PATHS...]
```
## Description
@ -22,6 +22,7 @@ Files may also be compressed and decompressed using GNU Zip (GZIP) compression.
* `-t`, `--list`: List contents
* `-v`, `--verbose`: Print paths
* `-z`, `--gzip`: Compress or decompress file using gzip
* `--no-auto-compress`: Do not use the archive suffix to select the compression algorithm
* `-C DIRECTORY`, `--directory DIRECTORY`: Directory to extract to/create from
* `-f FILE`, `--file FILE`: Archive file