Em Wed, Jul 04, 2001 at 09:24:06PM -0300, Gilberto J. Silva escreveu:
> Ol� Lista
> 
>       Como eu devo proceder para para descomprimir arquivos com a exten�ao:
> 
> xxxxxx.tar.bz2??

        Se bem me lembro, varia um pouco de acordo com a distribui��o. Assim:

        (Mandrake) tar -xvyf arquivo.tar.bz2
        (RedHat, Conectiva) tar -xvIf arquivo.tar.bz2
        (Conectiva 7.0 beta) tar -xvjf arquivo.tar.bz2
        (todos) bzip2 -dc arquivo.tar.bz2 | tar -xvf -

>       E aproveitando, como comprimir um arquivo  de texto para .tar.bz2??
> 
> Ex.:   xxxx.txt   prara   xxxx.txt.tar.bz2

        tar -cv[y|I|j]f arquivo.tar.bz2 arquivotexto1.txt arquivotexto2.txt [...]
        tar -cvf - arquivo1 arquivo2 arquivo3 [...] | bzip2 -c > arquivo.tar.bz2

        []s,
-- 
        Patola (Cl�udio Sampaio) - Solvo IT
        IBM Certified Advanced Technical Expert
        SAIR GNU/Linux Certified Systems Administrator
        PGP/GPG Public Key Available Upon Request
        Anti-Microsoft activist for mainly moral but also technical reasons
        Try http://www.automatos.com - The Automatic MSP
        Unix sex: unzip; strip; touch; finger; mount; fsck; more; yes; umount; sleep 
--
 /"\
 \ / ASCII RIBBON CAMPAIGN - NO HTML EMAIL!
  X  PLEASE QUOTE ONLY RELEVANT PARTS OF THIS MESSAGE.
 / \ DON'T QUOTE THIS SIGNATURE! / N�O CITE ESTA ASSINATURA!

Assinantes em 04/07/2001: 2275
Mensagens recebidas desde 07/01/1999: 121436
Historico e [des]cadastramento: http://linux-br.conectiva.com.br
Assuntos administrativos e problemas com a lista: 
            mailto:[EMAIL PROTECTED]

Responder a