X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=doc%2Fgzip.texi;h=7f3d4523cf15542ef16d5668a7f1d37b2d5d04f1;hb=4ee107046a0ffd91f6c60c787326a5e27b799f6d;hp=28b6f4c0ae5b0eab40f7b78e82beed42fd579c46;hpb=c7e61475680fa226bd9b8bdd469cd66914e630f5;p=debian%2Fgzip diff --git a/doc/gzip.texi b/doc/gzip.texi index 28b6f4c..7f3d452 100644 --- a/doc/gzip.texi +++ b/doc/gzip.texi @@ -11,7 +11,7 @@ This manual is for GNU Gzip (version @value{VERSION}, @value{UPDATED}), and documents commands for compressing and decompressing data. -Copyright @copyright{} 1998-1999, 2001-2002, 2006-2007, 2009 Free Software +Copyright @copyright{} 1998-1999, 2001-2002, 2006-2007, 2009-2012 Free Software Foundation, Inc. Copyright @copyright{} 1992, 1993 Jean-loup Gailly @@ -207,6 +207,7 @@ Mandatory arguments to long options are mandatory for short options too. -V, --version display version number -1, --fast compress faster -9, --best compress better + --rsyncable Make rsync-friendly archive With no FILE, or when FILE is -, read standard input. @@ -228,7 +229,7 @@ stopping on the first failure: find . -name '* *' -prune -o -name '*.gz' -type f -print | sed " - s/'/'\\''/g + s/'/'\\\\''/g s/^\\(.*\\)\\.gz$/gunzip <'\\1.gz' >'\\1'/ " | sh -e @@ -353,6 +354,22 @@ specified on the command line are directories, @command{gzip} will descend into the directory and compress all the files it finds there (or decompress them in the case of @command{gunzip}). +@item --rsyncable +While compressing, synchronize the output occasionally based on the +input. This can reduce the compression slightly in some cases, but +means that the @code{rsync} program can take advantage of similarities +in the uncompressed input when syncronizing two files compressed with +this flag. @code{gunzip} cannot tell the difference between a +compressed file created with this option, and one created without it. + +@item --rsyncable +While compressing, synchronize the output occasionally based on +the input. This increases size by less than 1 percent most +cases, but means that the @command{rsync} program can much more efficiently +synchronize files compressed with this flag. @command{gunzip} +cannot tell the difference between a compressed file created +with this option, and one created without it. + @item --suffix @var{suf} @itemx -S @var{suf} Use suffix @var{suf} instead of @samp{.gz}. Any suffix can be