Descompactar com GUNZIP [RESOLVIDO]

1. Descompactar com GUNZIP [RESOLVIDO]

Rafael Alves Lagisck
lagisck

(usa Debian)

Enviado em 03/09/2013 - 09:31h

Galera do VOl, estou tentando descompactar um .zip, porem ele foi zipado no windows e olha o que ocasiona o comando:

root@newserver1:/home/rafael/Downloads# gunzip exerDicionario2.zip
gzip: exerDicionario2.zip: unknown suffix -- ignored

Alguem saberia me dizer o que é?

Obrigado



  


2. Re: Descompactar com GUNZIP [RESOLVIDO]

Eduard Eidt
esmiril

(usa Ubuntu)

Enviado em 03/09/2013 - 09:41h

usa o unzip:

$ unzip exerDicionario2.zip


3. Complementação de resposta:

Willian Lima
#root

(usa Debian)

Enviado em 03/09/2013 - 10:12h

Apenas complementando, o GUNZIP serve para descompactar arquivos do GZIP. O UNZIP, serve para descompactar arquivos do ZIP. Portanto, quando desejar realizar qualquer procedimento neste sentido, lembre-se destas diferenças.

Portanto: unzip exemplo.zip (seria o comando correto).


4. Re: Descompactar com GUNZIP [RESOLVIDO]

Perfil removido
removido

(usa Nenhuma)

Enviado em 03/09/2013 - 10:17h

#root escreveu:

Apenas complementando, o GUNZIP serve para descompactar arquivos do GZIP. O UNZIP, serve para descompactar arquivos do ZIP. Portanto, quando desejar realizar qualquer procedimento neste sentido, lembre-se destas diferenças.

Portanto: unzip exemplo.zip (seria o comando correto).


$ man gunzip

 gunzip can currently decompress files created by gzip, zip, compress, compress -H or pack.  The detection of the input format is automatic.   When
using the first two formats, gunzip checks a 32 bit CRC. For pack, gunzip checks the uncompressed length. The standard compress format was not
designed to allow consistency checks. However gunzip 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 uncompress does not complain. This generally means that the standard uncom-
press 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.

Files created by zip 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 zip file with a single member, use a command like gunzip <foo.zip
or gunzip -S .zip foo.zip. To extract zip files with several members, use unzip instead of gunzip.



5. Re: Descompactar com GUNZIP [RESOLVIDO]

Rafael Alves Lagisck
lagisck

(usa Debian)

Enviado em 03/09/2013 - 11:53h

Valew Galera!!!






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts