mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-03-28 21:16:20 +01: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:
|
||||
|
||||
`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:
|
||||
|
||||
`gunzip -l {{file.txt.gz}}`
|
||||
`gunzip --list {{file.txt.gz}}`
|
||||
|
|
Loading…
Add table
Reference in a new issue