I am trying to unzip a file (Facebook download-your-info zip file), but here's what I got: enter image description here

Is there a way I can force-unzip it?

Update: I tried sudo unzip file.zip -d destination_folder in terminal, and it unzipped the file, but what came out, all the files have size 0 bytes: enter image description here

Update 2: I do have permission to the directory and the file.

enter image description here

(I'm really sorry if my question is asked badly. Let me know down in the comments :) )

  • 1
    Did the unzip command return an error? You can check the integrity of the archive by using the command: « unzip -t archive.zip » It seems that the downloaded archive is corrupted or incomplete. Is it possible to download it again? – Guillaume Dec 24 '18 at 12:17
  • I downloaded it 2 times on my computer, one time on another computer (and another facebook account data), and all didn't work – Vee Hua Zhi Dec 24 '18 at 12:18
  • Did the integrity check return something ? – Guillaume Dec 24 '18 at 12:20
  • I checked it and 'No errors detected in compressed data of <name>.zip.' came out – Vee Hua Zhi Dec 24 '18 at 12:21
  • In fact, I can read every file inside – Vee Hua Zhi Dec 24 '18 at 12:21

Either you try to unzip your archive in a directory where you do not have access rights or the rights on the archive are not granted to you. You can easily check using ls -la command and change permissions using chown and chmod commands.

You can also try unzipping from the command line as a super user and choose a directory where you have access rights.

sudo unzip file.zip -d destination_folder
  • Thanks! However, it didn't work. I have updated my question. – Vee Hua Zhi Dec 24 '18 at 12:05

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.