Difference between revisions of "Gzip"
Jump to navigation
Jump to search
↑ http://linuxcommand.org/lc3_man_pages/gzip1.html
Tags: Mobile web edit, Mobile edit |
|||
(22 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> gzip, gunzip, zcat - [[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 | ||
+ | |||
+ | |||
+ | |||
+ | 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
cat test.csv | gzip >> test.csv.gz
gzip --rsyncable
gzip -1 if=/dev/vda | gzip -1 | ssh your.server.com dd of=/mnt/storage/imagename.img.gz
Activities[edit]
- Learn about gzip support for concatenated files
Related[edit]
See also[edit]
gzip, pigz, brotli
- Data compression: LZMA,
xz, unxz
,xz -t, xz -q, xz -T0, xz -9, zstd
, Igor Pavlov,bzip2, gzip
Advertising: