gunzip: add command to keep original files (#6247)

beep
Laurent Indermühle 2021-07-20 00:13:07 +02:00 committed by GitHub
parent ebef4478ac
commit 0e1a6e39f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 2 deletions

View File

@ -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}}`