File tree Expand file tree Collapse file tree 3 files changed +12
-42
lines changed
Expand file tree Collapse file tree 3 files changed +12
-42
lines changed Original file line number Diff line number Diff line change 11# gunzip
22
3- > Extract files from a ` gzip ` (` .gz ` ) archive.
4- > More information: < https://manned.org/gunzip > .
3+ > This command is an alias of ` gzip --decompress ` .
54
6- - Extract a file from an archive, replacing the original file if it exists :
5+ - View documentation for the original command :
76
8- ` gunzip {{archive.tar.gz}} `
9-
10- - Extract a file to a target destination:
11-
12- ` gunzip {{[-c|--stdout]}} {{archive.tar.gz}} > {{archive.tar}} `
13-
14- - Extract a file and keep the archive file:
15-
16- ` gunzip {{[-k|--keep]}} {{archive.tar.gz}} `
17-
18- - List the contents of a compressed file:
19-
20- ` gunzip {{[-l|--list]}} {{file.txt.gz}} `
21-
22- - Decompress an archive from ` stdin ` :
23-
24- ` cat {{path/to/archive.gz}} | gunzip `
7+ ` tldr gzip `
Original file line number Diff line number Diff line change 1111
1212` gzip {{[-d|--decompress]}} {{path/to/file.gz}} `
1313
14+ - Display the name and reduction percentage for each file compressed:
15+
16+ ` gzip {{[-v|--verbose]}} {{path/to/file.gz}} `
17+
1418- Compress a file, keeping the original file:
1519
1620` gzip {{[-k|--keep]}} {{path/to/file}} `
2731
2832` gzip -{{1..9}} {{[-c|--stdout]}} {{path/to/file}} > {{path/to/compressed_file.gz}} `
2933
30- - Display the name and reduction percentage for each file compressed or decompressed :
34+ - List the contents of a compressed file :
3135
32- ` gzip {{[-vd |--verbose --decompress ]}} {{path/to/file.gz}} `
36+ ` gzip {{[-l |--list ]}} {{path/to/file.txt .gz}} `
Original file line number Diff line number Diff line change 11# zcat
22
3- > Print data from ` gzip ` compressed files to ` stdout ` .
4- > More information: < https://www.gnu.org/software/gzip/manual/gzip.html > .
3+ > This command is an alias of ` gzip --stdout --decompress ` .
54
6- - Print the uncompressed contents of a ` gzip ` archive to ` stdout ` :
5+ - View documentation for the original command :
76
8- ` zcat {{path/to/file.txt.gz}} `
9-
10- - Print compression details of a ` gzip ` archive to ` stdout ` :
11-
12- ` zcat {{[-l|--list]}} {{path/to/file.txt.gz}} `
13-
14- - Test the integrity of a compressed file verbosely:
15-
16- ` zcat {{[-v|--verbose]}} {{[-t|--test]}} {{path/to/file.txt.gz}} `
17-
18- - Suppress all warnings when decompressing a file:
19-
20- ` zcat {{[-q|--quiet]}} {{path/to/file.txt.gz}} `
21-
22- - Avoid any system crashes when decompressing a file (slower output):
23-
24- ` zcat --synchronous {{path/to/file.txt.gz}} `
7+ ` tldr gzip `
You can’t perform that action at this time.
0 commit comments