mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-07 04:26:01 +02:00
gunzip: add command to keep original files (#6247)
This commit is contained in:
parent
ebef4478ac
commit
0e1a6e39f2
1 changed files with 6 additions and 2 deletions
|
@ -9,8 +9,12 @@
|
||||||
|
|
||||||
- Extract a file to a target destination:
|
- Extract a file to a target destination:
|
||||||
|
|
||||||
`gunzip -c {{archive.tar.gz}} > {{archive.tar}}`
|
`gunzip --stdout {{archive.tar.gz}} > {{archive.tar}}`
|
||||||
|
|
||||||
|
- Extract a file and keep the archive file:
|
||||||
|
|
||||||
|
`gunzip --keep {{archive.tar.gz}}`
|
||||||
|
|
||||||
- List the contents of a compressed file:
|
- List the contents of a compressed file:
|
||||||
|
|
||||||
`gunzip -l {{file.txt.gz}}`
|
`gunzip --list {{file.txt.gz}}`
|
||||||
|
|
Loading…
Add table
Reference in a new issue