shell – archives had fatal errors. how to find out in more detail what are the errors?

Question:

I unpacked all the archives in the folder with the command unzip "*.zip" After unpacking, I received a message:

54 archives were successfully processed.
12 archives had fatal errors.

How to find out in more detail with which archives, files these errors occurred?

And another question: why, under Windows, the archives are unpacked without problems, and after uploading to the server and unpacking they give such an error? Why could this be?

Answer:

Try this option:

for i in "*.zip"; do echo Распаковывается архив $i; unzip $i; done

and after uploading to the server and unpacking they give out just such an error? Why could this be?

This may be due to the fact that errors occurred during the upload to the server. Compare checksums after transmission. Transferred files and original.

Scroll to Top