mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-03-28 21:16:20 +01:00
gzip: Remove gz extension from output file (#2015)
This commit is contained in:
parent
bc0c7679b7
commit
930cfe7f89
1 changed files with 2 additions and 2 deletions
|
@ -12,7 +12,7 @@
|
|||
|
||||
- Compress a file specifying the output filename:
|
||||
|
||||
`gzip -c {{file.ext}} > {{compressed_file.ext}}.gz`
|
||||
`gzip -c {{file.ext}} > {{compressed_file.ext.gz}}`
|
||||
|
||||
- Uncompress a gzipped file specifying the output filename:
|
||||
|
||||
|
@ -20,4 +20,4 @@
|
|||
|
||||
- Specify the compression level. 1=Fastest (Worst), 9=Slowest (Best), Default level is 6:
|
||||
|
||||
`gzip -9 -c {{file.ext}} > {{compressed_file.ext}}.gz`
|
||||
`gzip -9 -c {{file.ext}} > {{compressed_file.ext.gz}}`
|
||||
|
|
Loading…
Add table
Reference in a new issue