mirror of https://github.com/CrimsonTome/tldr.git
gzip: Remove gz extension from output file (#2015)
parent
bc0c7679b7
commit
930cfe7f89
|
@ -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…
Reference in New Issue