Sophie

Sophie

distrib > Mandriva > 9.1 > ppc > by-pkgid > aa09dbc8e851e434dcc4e1b20f84d6e9 > files > 939

howto-html-es-9.1-0.5mdk.noarch.rpm

<HTML>
<HEAD>
<TITLE>Bzip2 COMO: Utilizaci&oacute;n de bzip2 con wu-ftpd</TITLE>
</HEAD>
<BODY>
<A HREF="Bzip2-Como-6.html">Anterior</A>
<A HREF="Bzip2-Como-8.html">Siguiente</A>
<A HREF="Bzip2-Como.html#toc7">Indice</A>
<HR>
<H2><A NAME="s7">7. Utilizaci&oacute;n de bzip2 con wu-ftpd</A></H2>


<P>Gracias a Arnaud Launay por su truco para ahorrar ancho de banda. Lo
siguiente deber&iacute;a ir en <CODE>/etc/ftpconversions</CODE> para compresiones y
descompresiones al vuelo con <CODE>bzip2</CODE>. Aseg&uacute;rese de que las direcciones
(como <CODE>/bin/compress</CODE>) son correctas.</P>
<P>
<BLOCKQUOTE><CODE>
<PRE>
 :.Z:  :  :/bin/compress -d -c %s:T_REG|T_ASCII:O_UNCOMPRESS:UNCOMPRESS
 :   : :.Z:/bin/compress -c %s:T_REG:O_COMPRESS:COMPRESS
 :.gz: :  :/bin/gzip -cd %s:T_REG|T_ASCII:O_UNCOMPRESS:GUNZIP
 :   : :.gz:/bin/gzip -9 -c %s:T_REG:O_COMPRESS:GZIP
 :.bz2: :  :/bin/bzip2 -cd %s:T_REG|T_ASCII:O_UNCOMPRESS:BUNZIP2
 :   : :.bz2:/bin/bzip2 -9 -c %s:T_REG:O_COMPRESS:BZIP2
 :   : :.tar:/bin/tar -c -f - %s:T_REG|T_DIR:O_TAR:TAR
 :   : :.tar.Z:/bin/tar -c -Z -f - %s:T_REG|T_DIR:O_COMPRESS|O_TAR:TAR+COMPRESS
 :   : :.tar.gz:/bin/tar -c -z -f - %s:T_REG|T_DIR:O_COMPRESS|O_TAR:TAR+GZIP
 :   : :.tar.bz2:/bin/tar -c -I -f - %s:T_REG|T_DIR:O_COMPRESS|O_TAR:TAR+BZIP2
</PRE>
</CODE></BLOCKQUOTE>
</P>

<HR>
<A HREF="Bzip2-Como-6.html">Anterior</A>
<A HREF="Bzip2-Como-8.html">Siguiente</A>
<A HREF="Bzip2-Como.html#toc7">Indice</A>
</BODY>
</HTML>