mirror of https://github.com/CrimsonTome/tldr.git
gunzip: add command to keep original files (#6247)
parent
ebef4478ac
commit
0e1a6e39f2
|
@ -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…
Reference in New Issue