Difference between revisions of "Gzip"

From wikieduonline
Jump to navigation Jump to search
 
Line 9: Line 9:
  
 
[[Concatenation]]:
 
[[Concatenation]]:
* <code>cat test.csv | gzip [[>>]] test.csv.gz</code>
+
* <code>cat test.csv | gzip >> test.csv.gz</code>
  
 
* <code>gzip --[[rsyncable]]</code>
 
* <code>gzip --[[rsyncable]]</code>

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: