Difference between revisions of "Gzip"

From wikieduonline
Jump to navigation Jump to search
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<code>[[wikipedia:gzip]]</code><ref>http://linuxcommand.org/lc3_man_pages/gzip1.html</ref> <code>gzip</code>, <code>[[gunzip]]</code>, <code>[[zcat]]</code> - [[compress]] or expand files
 
<code>[[wikipedia:gzip]]</code><ref>http://linuxcommand.org/lc3_man_pages/gzip1.html</ref> <code>gzip</code>, <code>[[gunzip]]</code>, <code>[[zcat]]</code> - [[compress]] or expand files
 +
* https://git.savannah.gnu.org/cgit/gzip.git
  
  
Line 7: 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 21: Line 24:
  
 
== Related ==
 
== Related ==
* [[tar]]
+
* <code>[[tar -x]]</code>
 +
* <code>[[zstd]]</code>
 +
* <code>[[pigz]]</code> [[parallel]] implementation
 +
* [[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: