Difference between revisions of "Gzip"

From wikieduonline
Jump to navigation Jump to search
 
(3 intermediate revisions by the same user not shown)
Line 8: Line 8:
 
* <code>cat test.csv | gzip > test.csv.gz</code>
 
* <code>cat test.csv | gzip > test.csv.gz</code>
  
 +
[[Concatenation]]:
 +
* <code>cat test.csv | gzip >> test.csv.gz</code>
  
 
* <code>gzip --[[rsyncable]]</code>
 
* <code>gzip --[[rsyncable]]</code>
Line 26: Line 28:
 
* <code>[[pigz]]</code> [[parallel]] implementation
 
* <code>[[pigz]]</code> [[parallel]] implementation
 
* [[tee -a]]
 
* [[tee -a]]
 +
* [[zcat]]
 +
* [[Concatenation]]
  
 
== See also ==
 
== See also ==

Latest revision as of 05:30, 14 June 2024

wikipedia:gzip[1] gzip, gunzip, zcat - compress or expand files



Read from stdin and compress to stdout

  • cat test.csv | gzip > test.csv.gz

Concatenation:

  • cat test.csv | gzip >> test.csv.gz
gzip -1
 if=/dev/vda | gzip -1 | ssh your.server.com dd of=/mnt/storage/imagename.img.gz


Activities[edit]

Related[edit]

See also[edit]

  • http://linuxcommand.org/lc3_man_pages/gzip1.html
  • Advertising: