Difference between revisions of "Gzip"

From wikieduonline
Jump to navigation Jump to search
 
(26 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Draft}}
+
<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>[[gzip]]</code><ref>http://linuxcommand.org/lc3_man_pages/gzip1.html</ref>
+
* https://git.savannah.gnu.org/cgit/gzip.git
  
 +
 +
 +
 +
Read from [[stdin]] and compress to [[stdout]]
 
* <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>
 +
 +
gzip -1
 +
  if=/dev/vda | gzip -1 | ssh your.server.com [[dd]] of=/mnt/storage/imagename.img.gz
 +
 +
* <code>[[gzip --list]]</code>
 +
* <code>[[gzip --help]]</code>
  
  
 
== Activities ==
 
== Activities ==
 
* Learn about gzip support for [[concatenated]] files
 
* Learn about gzip support for [[concatenated]] files
 +
 +
== Related ==
 +
* <code>[[tar -x]]</code>
 +
* <code>[[zstd]]</code>
 +
* <code>[[pigz]]</code> [[parallel]] implementation
 +
* [[tee -a]]
 +
* [[zcat]]
 +
* [[Concatenation]]
  
 
== See also ==
 
== See also ==
 +
* {{gzip}}
 
* {{xz}}
 
* {{xz}}
 
  
 
[[Category:compression]]
 
[[Category:compression]]

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: