Unable to extract OneDrive ZIP file on Ubuntu 18.10












1















So I downloaded a 45 gig directory from OneDrive which got saved on my Ubuntu VM in the form of a zip file.



Now when I try to extract it via GUI, it gives me an error saying the archive is empty.



When I try to use the unzip command via terminal, it gives me an error:




warning [Archive.zip]: 43855246100 extra bytes at beginning or within zipfile
(attempting to process anyway)



error [Archive.zip]: start of central directory not found;
zipfile corrupt.



(please check that you have transferred or created the zipfile in the
appropriate BINARY mode and that you have compiled UnZip properly)




https://stackoverflow.com/questions/27151176/zip-files-corrupt-over-4-gigabytes-no-warnings-or-errors-did-i-lose-my-data/31084012



From the above link I learned that unzip fails for archives greater than 4 gigs.



So I tried multiple other options, like tar xvf, jar xf, 7z x




  1. For tar xvf, I get



tar: This does not look like a tar archive



tar: Skipping to next header





  1. For 7z x, the archive gets extracted, but with the following errors:



Headers Error



Unconfirmed start of archive



WARNINGS



There are data after the end of archive




Also, there were supposed to be some .rar files inside the original (downloaded) zip file, which were missing from the extracted location.




  1. For jar xf, I get the error:



Error in JAR file! (not compressed but data desc.)




When I try to run zip -T Archive.zip, I get




Could not find Archive.z01



Hit c (change path to where this split file is)



q (abort archive - quit)



or ENTER (try reading this split again):




Is it possible OneDrive gave me a corrupted archive?










share|improve this question



























    1















    So I downloaded a 45 gig directory from OneDrive which got saved on my Ubuntu VM in the form of a zip file.



    Now when I try to extract it via GUI, it gives me an error saying the archive is empty.



    When I try to use the unzip command via terminal, it gives me an error:




    warning [Archive.zip]: 43855246100 extra bytes at beginning or within zipfile
    (attempting to process anyway)



    error [Archive.zip]: start of central directory not found;
    zipfile corrupt.



    (please check that you have transferred or created the zipfile in the
    appropriate BINARY mode and that you have compiled UnZip properly)




    https://stackoverflow.com/questions/27151176/zip-files-corrupt-over-4-gigabytes-no-warnings-or-errors-did-i-lose-my-data/31084012



    From the above link I learned that unzip fails for archives greater than 4 gigs.



    So I tried multiple other options, like tar xvf, jar xf, 7z x




    1. For tar xvf, I get



    tar: This does not look like a tar archive



    tar: Skipping to next header





    1. For 7z x, the archive gets extracted, but with the following errors:



    Headers Error



    Unconfirmed start of archive



    WARNINGS



    There are data after the end of archive




    Also, there were supposed to be some .rar files inside the original (downloaded) zip file, which were missing from the extracted location.




    1. For jar xf, I get the error:



    Error in JAR file! (not compressed but data desc.)




    When I try to run zip -T Archive.zip, I get




    Could not find Archive.z01



    Hit c (change path to where this split file is)



    q (abort archive - quit)



    or ENTER (try reading this split again):




    Is it possible OneDrive gave me a corrupted archive?










    share|improve this question

























      1












      1








      1








      So I downloaded a 45 gig directory from OneDrive which got saved on my Ubuntu VM in the form of a zip file.



      Now when I try to extract it via GUI, it gives me an error saying the archive is empty.



      When I try to use the unzip command via terminal, it gives me an error:




      warning [Archive.zip]: 43855246100 extra bytes at beginning or within zipfile
      (attempting to process anyway)



      error [Archive.zip]: start of central directory not found;
      zipfile corrupt.



      (please check that you have transferred or created the zipfile in the
      appropriate BINARY mode and that you have compiled UnZip properly)




      https://stackoverflow.com/questions/27151176/zip-files-corrupt-over-4-gigabytes-no-warnings-or-errors-did-i-lose-my-data/31084012



      From the above link I learned that unzip fails for archives greater than 4 gigs.



      So I tried multiple other options, like tar xvf, jar xf, 7z x




      1. For tar xvf, I get



      tar: This does not look like a tar archive



      tar: Skipping to next header





      1. For 7z x, the archive gets extracted, but with the following errors:



      Headers Error



      Unconfirmed start of archive



      WARNINGS



      There are data after the end of archive




      Also, there were supposed to be some .rar files inside the original (downloaded) zip file, which were missing from the extracted location.




      1. For jar xf, I get the error:



      Error in JAR file! (not compressed but data desc.)




      When I try to run zip -T Archive.zip, I get




      Could not find Archive.z01



      Hit c (change path to where this split file is)



      q (abort archive - quit)



      or ENTER (try reading this split again):




      Is it possible OneDrive gave me a corrupted archive?










      share|improve this question














      So I downloaded a 45 gig directory from OneDrive which got saved on my Ubuntu VM in the form of a zip file.



      Now when I try to extract it via GUI, it gives me an error saying the archive is empty.



      When I try to use the unzip command via terminal, it gives me an error:




      warning [Archive.zip]: 43855246100 extra bytes at beginning or within zipfile
      (attempting to process anyway)



      error [Archive.zip]: start of central directory not found;
      zipfile corrupt.



      (please check that you have transferred or created the zipfile in the
      appropriate BINARY mode and that you have compiled UnZip properly)




      https://stackoverflow.com/questions/27151176/zip-files-corrupt-over-4-gigabytes-no-warnings-or-errors-did-i-lose-my-data/31084012



      From the above link I learned that unzip fails for archives greater than 4 gigs.



      So I tried multiple other options, like tar xvf, jar xf, 7z x




      1. For tar xvf, I get



      tar: This does not look like a tar archive



      tar: Skipping to next header





      1. For 7z x, the archive gets extracted, but with the following errors:



      Headers Error



      Unconfirmed start of archive



      WARNINGS



      There are data after the end of archive




      Also, there were supposed to be some .rar files inside the original (downloaded) zip file, which were missing from the extracted location.




      1. For jar xf, I get the error:



      Error in JAR file! (not compressed but data desc.)




      When I try to run zip -T Archive.zip, I get




      Could not find Archive.z01



      Hit c (change path to where this split file is)



      q (abort archive - quit)



      or ENTER (try reading this split again):




      Is it possible OneDrive gave me a corrupted archive?







      archive






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Feb 3 at 12:20









      Tanmay VijTanmay Vij

      61




      61






















          0






          active

          oldest

          votes












          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "89"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1115238%2funable-to-extract-onedrive-zip-file-on-ubuntu-18-10%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Ask Ubuntu!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1115238%2funable-to-extract-onedrive-zip-file-on-ubuntu-18-10%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          How to change which sound is reproduced for terminal bell?

          Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents

          Can I use Tabulator js library in my java Spring + Thymeleaf project?