.\" -*- coding: UTF-8 -*- .\"******************************************************************* .\" .\" This file was generated with po4a. Translate the source file. .\" .\"******************************************************************* .TH GZIP 1 local .SH NIMI gzip, gunzip, zcat \- tiivistä tai laajenna tiedostoja .SH YLEISKATSAUS .ll +8 \fBgzip\fP [\fB \-acdfhklLnNrtvV19 \fP] [\fB\-S\ suffix\fP] [ \fInimi \&...\fP ] .ll -8 .br \fBgunzip\fP [\fB \-acfhklLnNrtvV \fP] [\fB\-S\ suffix\fP] [ \fInimi \&...\fP ] .br \fBzcat\fP [\fB \-fhLV \fP] [ \fInimi \&...\fP ] .SH KUVAUS \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 Jos tiivistetyn tiedoston nimi on liian pitkä tiedostojärjestelmälle, \fIgzip\fP typistää sen. \fIGzip\fP yrittää typistää vain ne tiedostonimen osat, joiden pituus on yli 3 merkkiä. (Osa on erotettu pisteillä.) Jos nimi koostuu vain pienistä osista, pisimmät osat typistetään. Esimerkiksi, jos tiedostonimet on rajoitettu 14 merkkiin, gzip.msdos.exe typistetään nimeksi gzi.msd.exe.gz. Nimiä ei typistetä järjestelmissä, joiden nimenpituutta ei ole rajoitettu. .PP Oletuksena on, että \fIgzip\fP säilyttää alkuperäisen tiedostonimen ja aikaleiman tiivistetyssäkin tiedostossa. Niitä käytetään, kun tiedosto laajennetaan optiolla \fB\-N\fP Tästä on hyötyä, kun tiivistetyn tiedoston nimi typistyy tai aikaleima ei säily tiedostosiirrossa. .PP Tiivistetyt tiedostot voidaan palauttaa alkuperäiseen muotoonsa \fIgzip \-d\fP tai \fIgunzip\fP tai \fIzcat\fP. Jos tiivistettyyn tiedostoon talletettu alkuperäinen nimi ei sovelly tiedostojärjestelmään, uusi kelvollinen nimi rakennetaan alkuperäisestä. .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 tiedosto2 >> foo.gz Siten gunzip \-c foo on sama kuin cat tiedosto1 tiedosto2 Jos .gz tiedoston yksi jäsen on vahingoittunut, voidaan muut jäsenet vielä pelastaa (jos vahingoittunut jäsen poistetaan). Kuitenkin parempi tiivistys saadaan aikaan tiivistämällä kaikki jäsenet kerralla: cat tiedosto1 tiedosto2 | gzip > foo.gz tiivistää paremmin kuin gzip \-c tiedosto1 tiedosto2 > foo.gz Jos haluat tiivistää ketjutetut tiedostot uudelleen paremman tiivistyksen aikaansaamiseksi, tee seuraavasti: gzip \-cd old.gz | gzip > new.gz Jos tiivistetty tiedosto koostuu useasta jäsenestä, \-\-list option ilmoittama tiivistämätön koko ja CRC koskevat vain viimeistä jäsentä. Jos tarvitset kaikkien jäsenten tiivistämättömän koon, toimi näin: gzip \-cd tiedosto.gz | wc \-c Jos haluat tehdä yhden monijäsenisen arkiston niin, että jäsenet voidaan ottaa esiin toisistaan riippumatta, käytä arkisto\-ohjelmia kuten \fBtar\fP tai \fBzip\fP. GNU \fBtar\fP tukee \fB\-z\fP optiota, joka kutsuu \fBgzip\fP:n läpinäkyvästi. \fBgzip\fP on suunniteltu \fBtar\fP:n täydennykseksi eikä korvaajaksi. .SH YMPÄRISTÖ 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 "KATSO MYÖS" \fBznew\fP(1), \fBzcmp\fP(1), \fBzmore\fP(1), \fBzforce\fP(1), \fBgzexe\fP(1), \fBzip\fP(1), \fBunzip\fP(1), \fBcompress\fP(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 "VIRHEILMOITUSTEN TULKINTA" Normaalisuorituksen paluukoodi on 0. Virhetilan paluukoodi on 1. Varoituksen paluukoodi on 2. .TP Usage: gzip [\-cdfhklLnNrtvV19] [\-S suffix] [file ...] Komentorivillä on määritelty kelvottomia optioita. .TP \fIfile\fP\^: not in gzip format Ohjelmalle \fIgunzip\fP annettu tiedosto ei ole tiivistetty. .TP \fIfile\fP\^: Corrupt input. Use zcat to recover some data. Tiivistetty tiedosto on vahingoittunut. Tiedot virhekohtaan asti voidaan pelastaa komennolla zcat \fItiedosto\fP > recover .TP \fIfile\fP\^: compressed with \fIxx\fP bits, can only handle \fIyy\fP bits \fITiedosto\fP oli tiivistetty ohjelmalla (käyttäen LZW:tä) joka voi käsitellä enemmän bittejä kuin tämän koneen laajennuskoodi. Tiivistä tiedosto uudelleen gzip\-ohjelmalla, joka tiivistää paremmin ja käyttää vähemmän muistia. .TP \fIfile\fP\^: already has .gz suffix \-\- unchanged Ohjelma luulee, että tiedosto on jo tiivistetty. Anna tiedostolle uusi nimi ja yritä uudestaan. .TP \fIfile\fP already exists; do you wish to overwrite (y or n)? Vastaa "y" jos haluat korvata tulostustiedoston; vastaa "n" jos et. .TP gunzip: corrupt input Ohjelma on havainnut SIGSEGV virheen, joka yleensä tarkoittaa syöttötiedostovirhettä. .TP \fIxx.x%\fP Tiivistyksen tilansäästöprosentti. (Merkitystä vain optioilla \fB\-v\fP ja \fB\-l\fP.) .TP \-\- not a regular file or directory: ignored Kun syöttötiedosto ei ole tavallinen tiedosto tai hakemisto (esim. symbolinen linkki, socket, FIFO, laitetiedosto), sitä ei muuteta. .TP \-\- has \fIxx\fP other links: unchanged Syöttötiedostoon on linkkejä eikä sitä muuteta. Katso lisätietoja \fIln\fP(1) Käytä optiota \fB\-f\fP pakottaaksesi monilinkkisen tiedoston tiivistyksen. .SH VAROITUKSET Kirjoitettaessa tiivistettyä tietoa nauhalle on yleensä tarpeen täyttää tulostus nollilla lohkorajaan saakka. Kun tieto luetaan ja koko lohko siirretään ohjelmalle\fIgunzip\fP laajennettavaksi, \fIgunzip\fP havaitsee, että tiivistetyn tiedon jälkeen on ylimääräistä roskaa ja antaa varoituksen. Käytä optiota \fB\-\-quiet\fP varoituksen estämiseen. .SH BUGIT 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 tiedosto.gz | wc \-c Optio \fB\-\-list\fP ilmoittaa kooksi \-1 ja crc:ksi ffffffff, jos tiivistetty tiedosto ei ole suorahakuvälineellä. Eräissä harvinaisissa tapauksissa optio \fB\-\-best\fP antaa huonomman tiivistyksen kuin oletustiivistystaso (\-6). Joissakin merkityksettömissä tapauksissa \fIcompress\fP tiivistää paremmin kuin \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. .PP .SH KÄÄNNÖS Tämän käsikirjan suomenkielisen käännöksen tekivät Tuukka Forssell . .PP Tämä käännös on ilmainen dokumentaatio; katso tekijänoikeusehdot .UR https://www.gnu.org/licenses/gpl-3.0.html GNU General Public License -versiosta 3 .UE tai uudemmasta. Emme ota vastuuta.