I see the reply to @RomeoNinov that this file was created in some version (which?) of Windows in the File Manager GUI. Is it possible to transfer the archive back to Windows and check the contents there?
How did the .zip get to be on a Linux system? Something like FTP needs to be configured to transfer in binary mode (as opposed to ascii mode) to avoid having bytes that look like newline converted, for example.
Linux zip
only claims it works for .zip file created in MSDOS, OS/2, Windows 9x/NT/XP. No mention of Win 7, 10 or 11 there. You might try 7z
instead of unzip
, as it may deal with more recent Windows formats.
I see you are working in /tmp
. You might show the results of df -h /tmp
. Any file transfer between machines may have failed due to lack of space, and 50GB seems generous for /tmp, so the file may indeed be incomplete, as the error message says. Also, /tmp tends to get cleared at reboot, so it would be easy to lose the backup.zip file itself.
It may prove impossible to recover this data, due to the chain of operations which it has undergone.
zip
file?unzip -l backup.zip
say?-I
option is invalid on my Linux. What is your distro, and what does the man page say it does? Mine has a-i
option which "emits mime-strings rather than human-readable ones". I suspect your file is a .zip, but you suppressed that information. If the contents of your folder were already compressed (e.g. images) then zip will not achieve significant reductions, so 50GB would be understandable.