7z.exe Extract Only Updated Files





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}







0















I have .zip file which has around 40,000 files.



Questions:




  1. For the first it takes time to extract, fine no problem, but for the 2nd run should only extract files that are found to be changed than in zip. Just want to make extraction faster.

  2. Is there any option in 7z.exe that provides multithreading extraction.

  3. Any other python based code/executable?

  4. Same in linux based /usr/bin/unzip which is quite faster. It does the whole job in around 20-22sec, though it has -o option to overwrite. Any windows based solution which is equivalent to /usr/bin/unzip ?


What I have tried till -





  1. python:



        pkg.extractall(destination)```



  2. executables:



    powershell.exe Expand-Archive src.zip -DestinationPath dest_path
    7z x "src.zip" -o"dest" -aoa




All above defined approaches are taking a lot of time.



Don't want to use solution provided here Linux unzip command: Option to force overwrite? Reason: unzip is not freeware
Any solution from some good guy is appreciated.



Please let me you if things are unclear.



Thanks










share|improve this question





























    0















    I have .zip file which has around 40,000 files.



    Questions:




    1. For the first it takes time to extract, fine no problem, but for the 2nd run should only extract files that are found to be changed than in zip. Just want to make extraction faster.

    2. Is there any option in 7z.exe that provides multithreading extraction.

    3. Any other python based code/executable?

    4. Same in linux based /usr/bin/unzip which is quite faster. It does the whole job in around 20-22sec, though it has -o option to overwrite. Any windows based solution which is equivalent to /usr/bin/unzip ?


    What I have tried till -





    1. python:



          pkg.extractall(destination)```



    2. executables:



      powershell.exe Expand-Archive src.zip -DestinationPath dest_path
      7z x "src.zip" -o"dest" -aoa




    All above defined approaches are taking a lot of time.



    Don't want to use solution provided here Linux unzip command: Option to force overwrite? Reason: unzip is not freeware
    Any solution from some good guy is appreciated.



    Please let me you if things are unclear.



    Thanks










    share|improve this question

























      0












      0








      0








      I have .zip file which has around 40,000 files.



      Questions:




      1. For the first it takes time to extract, fine no problem, but for the 2nd run should only extract files that are found to be changed than in zip. Just want to make extraction faster.

      2. Is there any option in 7z.exe that provides multithreading extraction.

      3. Any other python based code/executable?

      4. Same in linux based /usr/bin/unzip which is quite faster. It does the whole job in around 20-22sec, though it has -o option to overwrite. Any windows based solution which is equivalent to /usr/bin/unzip ?


      What I have tried till -





      1. python:



            pkg.extractall(destination)```



      2. executables:



        powershell.exe Expand-Archive src.zip -DestinationPath dest_path
        7z x "src.zip" -o"dest" -aoa




      All above defined approaches are taking a lot of time.



      Don't want to use solution provided here Linux unzip command: Option to force overwrite? Reason: unzip is not freeware
      Any solution from some good guy is appreciated.



      Please let me you if things are unclear.



      Thanks










      share|improve this question














      I have .zip file which has around 40,000 files.



      Questions:




      1. For the first it takes time to extract, fine no problem, but for the 2nd run should only extract files that are found to be changed than in zip. Just want to make extraction faster.

      2. Is there any option in 7z.exe that provides multithreading extraction.

      3. Any other python based code/executable?

      4. Same in linux based /usr/bin/unzip which is quite faster. It does the whole job in around 20-22sec, though it has -o option to overwrite. Any windows based solution which is equivalent to /usr/bin/unzip ?


      What I have tried till -





      1. python:



            pkg.extractall(destination)```



      2. executables:



        powershell.exe Expand-Archive src.zip -DestinationPath dest_path
        7z x "src.zip" -o"dest" -aoa




      All above defined approaches are taking a lot of time.



      Don't want to use solution provided here Linux unzip command: Option to force overwrite? Reason: unzip is not freeware
      Any solution from some good guy is appreciated.



      Please let me you if things are unclear.



      Thanks







      windows command-line 7-zip windows-installer unzip






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Mar 12 at 7:21









      SidSid

      11




      11






















          0






          active

          oldest

          votes












          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "3"
          };
          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%2fsuperuser.com%2fquestions%2f1413299%2f7z-exe-extract-only-updated-files%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 Super User!


          • 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%2fsuperuser.com%2fquestions%2f1413299%2f7z-exe-extract-only-updated-files%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 do I know what Microsoft account the skydrive app is syncing to?

          When does type information flow backwards in C++?

          Grease: Live!