.\" -*- coding: UTF-8 -*- .\"******************************************************************* .\" .\" This file was generated with po4a. Translate the source file. .\" .\"******************************************************************* .TH GZIP 1 local .SH NÉV gzip, gunzip, zcat \- fájlok tömörítése vagy kicsomagolása .SH ÖSSZEGZÉS .ll +8 \fBgzip\fP [\fB \-acdfhklLnNrtvV19 \fP] [\fB\-S\ suffix\fP] [ \fInév \&...\fP ] .ll -8 .br \fBgunzip\fP [\fB \-acfhklLnNrtvV \fP] [\fB\-S\ suffix\fP] [ \fInév \&...\fP ] .br \fBzcat\fP [\fB \-fhLV \fP] [ \fInév \&...\fP ] .SH LEÍRÁS \fIGzip\fP reduces the size of the named files using Lempel\-Ziv coding (LZ77). Whenever possible, each file is replaced by one with the extension \fB\&.gz\fP, while keeping the same ownership modes, access and modification times. (The default extension is \fBz\fP for MSDOS, OS/2 FAT, Windows NT FAT and Atari.) If no files are specified, or if a file name is "\-", the standard input is compressed to the standard output. \fIGzip\fP will only attempt to compress regular files. In particular, it will ignore symbolic links. .PP \fIGzip\fP csak a szabályos fájlokat kísérli meg tömöríteni. Főként a szimbolikus kötéseket hagyja figyelmen kívül. Amennyiben a tömörített fájlnév túl hosszú a fájlrendszernek \fIgzip\fP csonkolni fogja. \fIGzip\fP csak a fájlnév 3 karakternél hosszabb részeit kísérli meg csonkolni. (A részeket pontok határolják.) Ha a név csak kis részekből áll, a leghosszabb részeket csonkolja. Például ha a fájlnevek maximum 14 karakteresek lehetnek, gzip.msdos.exe tömörített neve gzi.msd.exe.gz lesz. Olyan rendszereken, ahol nincs korlát a fájlnevek hosszára, nem történik csonkolás. .PP Alapértelmezés szerint \fIgzip\fP megőrzi az eredeti fájl nevét és időbélyegét (timestamp) a tömörített fájlban. Ezeket akkor használja, ha a kicsomagolás (decompression) a \fB\-N\fP opcióval történik. Ez akkor hasznos, ha a tömörített fájl neve csonkolva volt, vagy az időbélyeg megváltozott egy fájlátvitel miatt. .PP A tömörített fájlok visszaállíthatók eredeti formájukra a \fIgzip \-d\fP vagy \fIgunzip\fP vagy \fIzcat\fP használatával. Ha a tömörített fájlban elmentett eredeti név nem megfelelő a fájlrendszernek, új, legális név meghatározása történik az eredeti alapján. .PP \fIgunzip\fP takes a list of files on its command line and replaces each file whose name ends with .gz, \-gz, .z, \-z, or _z (ignoring case) and which begins with the correct magic number with an uncompressed file without the original extension. \fIgunzip\fP also recognizes the special extensions \fB\&.tgz\fP and \fB\&.taz\fP as shorthands for \fB\&.tar.gz\fP and \fB\&.tar.Z\fP respectively. When compressing, \fIgzip\fP uses the \fB\&.tgz\fP extension if necessary instead of truncating a file with a \fB\&.tar\fP extension. .PP \fIgunzip\fP can currently decompress files created by \fIgzip\fP, \fIzip\fP, \fIcompress\fP, \fIcompress \-H\fP or \fIpack\fP. The detection of the input format is automatic. When using the first two formats, \fIgunzip\fP checks a 32 bit CRC. For \fIpack\fP and \fIgunzip\fP checks the uncompressed length. The standard \fIcompress\fP format was not designed to allow consistency checks. However \fIgunzip\fP is sometimes able to detect a bad .Z file. If you get an error when uncompressing a .Z file, do not assume that the .Z file is correct simply because the standard \fIuncompress\fP does not complain. This generally means that the standard \fIuncompress\fP does not check its input, and happily generates garbage output. The SCO compress \-H format (lzh compression method) does not include a CRC but also allows some consistency checks. .PP Files created by \fIzip\fP can be uncompressed by gzip only if they have a single member compressed with the 'deflation' method. This feature is only intended to help conversion of tar.zip files to the tar.gz format. To extract a \fIzip\fP file with a single member, use a command like \fIgunzip foo.gz gzip \-c file2 >> foo.gz Majd gunzip \-c foo egyenértékű ezzel: cat file1 file2 A .gz fájl egyik tagjának sérülésekor a többi tag még visszaállítható, ha a sérült részt eltávolítjuk. Jobb tömörítés érhető el, ha az összes tagot egyszerre tömörítjük. Pl. cat file1 file2 | gzip > foo.gz jobban tömörít, mint gzip \-c file1 file2 > foo.gz Ha összefűzött fájlokat újra akarunk tömöríteni nagyobb tömörség elérése miatt, csinálhatjuk a következő módon: gzip \-cd old.gz | gzip > new.gz Ha a tömörített fájl több tagból áll, a tömörítetlen méret és a CRC adat, amit a \-\-list opció kijelez, csak az utolsó tagra vonatkozik. Ha mindegyik tag tömörítetlen méretére kíváncsiak vagyunk, használhatjuk a következő parancsot: gzip \-cd file.gz | wc \-c Amennyiben egyetlen olyan archív fájlt akarunk készíteni, mely több, egymástól függetlenül kicsomagolható tagból áll, valamilyen archiváló programot kell használnunk, mint pl. a tar, vagy a zip. A GNU tar támogatja a \-z opciót, mely esetén magától meghívja a gzip\-et. A gzip így kiegészíti, és nem helyettesíti a tar\-t. .SH KÖRNYEZET The obsolescent environment variable \fBGZIP\fP can hold a set of default options for \fIgzip\fP. These options are interpreted first and can be overwritten by explicit command line parameters. As this can cause problems when using scripts, this feature is supported only for options that are reasonably likely to not cause too much harm, and \fIgzip\fP warns if it is used. This feature will be removed in a future release of \fIgzip\fP. .PP You can use an alias or script instead. For example, if \fIgzip\fP is in the directory \fB/usr/bin\fP you can prepend \fB$HOME/bin\fP to your \fBPATH\fP and create an executable script \fB$HOME/bin/gzip\fP containing the following: #! /bin/sh export PATH=/usr/bin exec gzip \-9 "$@" .SH "LÁSD MÉG" znew(1), zcmp(1), zmore(1), zforce(1), gzexe(1), zip(1), unzip(1), compress(1) .PP The \fIgzip\fP file format is specified in P. Deutsch, \s-1GZIP\s0 file format specification version 4.3, \fB\fP, Internet RFC 1952 (May 1996). The \fIzip\fP deflation format is specified in P. Deutsch, \s-1DEFLATE\s0 Compressed Data Format Specification version 1.3, \fB\fP, Internet RFC 1951 (May 1996). .SH DIAGNOSZTIKA A normál kilépési állapot 0, hiba esetén 1, figyelmeztetés esetén 2. Az angol változat lehetséges hibaüzenetei és figyelmeztetései: .TP Usage: gzip [\-cdfhklLnNrtvV19] [\-S suffix] [file ...] A parancssorban érvényetelen opciók kerültek megadásra. .TP \fIfile\fP\^: not in gzip format A \fIgunzip\fP \-nek átadott fájl nem tömörített, vagy ismeretlen formátumú. .TP \fIfile\fP\^: Corrupt input. Use zcat to recover some data. A tömörített fájl megsérült. A hiba pontjáig az adatok visszaállíthatók a következő paranccsal: zcat \fIfile\fP > recover .TP \fIfile\fP\^: compressed with \fIxx\fP bits, can only handle \fIyy\fP bits \fIFile\fP egy olyan LZW\-t használó programmal lett tömörítve, amely több bitet használt, mint az aktuális gép kicsomagoló kódja. Célszerű újratömöríteni a fájlt gzip\-pel, ami jabban tömörít és kevesebb memóriát használ. .TP \fIfile\fP\^: already has .gz suffix \-\- unchanged A fájl feltételezhetően már tömörítve van, mert kiterjesztése .gz . Ha mégsem tömörített, át kell nevezni, majd újra próbálkozni. .TP \fIfile\fP already exists; do you wish to overwrite (y or n)? Válaszolj "y"\-t, ha azt akarod, hogy a kimeneti fájl felülírja az eredetit, különben "n"\-t. .TP gunzip: corrupt input A program "SIGSEGV violation"\-t detektált, ami általában sérült bemeneti fájlt jelent. .TP \fIxx.x%\fP A tömörítés által megtakarított terület aránya százalékokban. (\fB\-v\fP és \fB\-l\fP opciók esetén érvényes.) .TP \-\- not a regular file or directory: ignored Amikor a bemeneti fájl nem szabályos fájl vagy könyvtár (hanem pl. szimbolikus kötés, socket, FIFO, eszközfájl), a gzip változatlanul hagyja. .TP \-\- has \fIxx\fP other links: unchanged A bemeneti fájlnak kötései vannak, a gzip változatlanul hagyja. Lásd még: \fIln\fP(1) használatát a bővebb információkért. Használd a \fB\-f\fP opciót a többszörösen kötött fájlok tömörítéséhez. .SH FIGYELMEZTETÉSEK When writing compressed data to a tape, it is generally necessary to pad the output with zeroes up to a block boundary. When the data is read and the whole block is passed to \fIgunzip\fP for decompression, \fIgunzip\fP detects that there is extra trailing garbage after the compressed data and emits a warning by default. You can use the \-\-quiet option to suppress the warning. .SH HIBÁK The gzip format represents the input size modulo 2^32, so the \-\-list option reports incorrect uncompressed sizes and compression ratios for uncompressed files 4 GB and larger. To work around this problem, you can use the following command to discover a large uncompressed file's true size: zcat file.gz | wc \-c A \-\-list opció \-1 \-et ad meg méretnek és ffffffff \-et CRC\-nek ha a tömörített fájl nem elérhető adathordozón van. Néhány ritka esetben a \-\-best opció rosszab tömörítést ad, mint az alapértelmezett tömörítési szint. Néhány nagyon redundáns fájl esetén \fIcompress\fP jobban tömörít, mint \fIgzip\fP. .SH "COPYRIGHT NOTICE" Copyright \(co 1998\-1999, 2001\-2002, 2012, 2015\-2018 Free Software Foundation, Inc. .br Copyright \(co 1992, 1993 Jean\-loup Gailly .PP Permission is granted to make and distribute verbatim copies of this manual provided the copyright notice and this permission notice are preserved on all copies. .ig Permission is granted to process this file through troff and print the results, provided the printed document carries copying permission notice identical to this one except for the removal of this paragraph (this paragraph not being relevant to the printed manual). .. .PP Permission is granted to copy and distribute modified versions of this manual under the conditions for verbatim copying, provided that the entire resulting derived work is distributed under the terms of a permission notice identical to this one. .PP Permission is granted to copy and distribute translations of this manual into another language, under the above conditions for modified versions, except that this permission notice may be stated in a translation approved by the Foundation. .SH FORDÍTÁS A kézikönyv magyar fordítását a Horváth András készítette. Ez a fordítás ingyenes dokumentáció; lásd a .UR https://www.gnu.org/licenses/gpl-3.0.html GNU General Public License 3 .UE . Vagy újabb verzióját a szerzői jogi feltételekkel kapcsolatban. Feltételezzük, hogy NEM FELELŐSSÉG. Ha hibát talál a kézikönyv oldal fordításában, küldje el a e-mail cím: .MT TODO. .ME .