compress folder using pigz












0















pigz, which stands for parallel implementation of gzip, is a fully functional replacement for gzip that exploits multiple processors and multiple cores to the hilt when compressing data.



But this tool is used only to compress a single file.



How i can manage it to compress folders too from source code:
http://www.zlib.net/pigz/pigz-2.3.3.tar.gz



Or any other idea ... but without using TAR since i want use it too in windows os.










share|improve this question



























    0















    pigz, which stands for parallel implementation of gzip, is a fully functional replacement for gzip that exploits multiple processors and multiple cores to the hilt when compressing data.



    But this tool is used only to compress a single file.



    How i can manage it to compress folders too from source code:
    http://www.zlib.net/pigz/pigz-2.3.3.tar.gz



    Or any other idea ... but without using TAR since i want use it too in windows os.










    share|improve this question

























      0












      0








      0








      pigz, which stands for parallel implementation of gzip, is a fully functional replacement for gzip that exploits multiple processors and multiple cores to the hilt when compressing data.



      But this tool is used only to compress a single file.



      How i can manage it to compress folders too from source code:
      http://www.zlib.net/pigz/pigz-2.3.3.tar.gz



      Or any other idea ... but without using TAR since i want use it too in windows os.










      share|improve this question














      pigz, which stands for parallel implementation of gzip, is a fully functional replacement for gzip that exploits multiple processors and multiple cores to the hilt when compressing data.



      But this tool is used only to compress a single file.



      How i can manage it to compress folders too from source code:
      http://www.zlib.net/pigz/pigz-2.3.3.tar.gz



      Or any other idea ... but without using TAR since i want use it too in windows os.







      linux windows compression zip






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Sep 27 '16 at 12:30









      Creative ManCreative Man

      112




      112






















          1 Answer
          1






          active

          oldest

          votes


















          0














          PigZ will only compress single files. You will need to use an archiver to collect the files into a single file.



          You can use ZIP with no compression (-0) as an archiver, then pipe the output to PigZ for parallel compression.






          share|improve this answer
























          • How i can do that on windows for example ? about archiving file from command line and send output to pigz ?

            – Creative Man
            Sep 27 '16 at 17:11











          • Check out: msdn.microsoft.com/en-us/library/bb417343.aspx Specifically: The following command stores files in the cabinet with no compression: cabarc –m NONE n mycab.cab <files to arcive> Then run pigz on the cab file. Can easily be done in a BATCH file.

            – user2183032
            Sep 27 '16 at 17:26














          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%2f1128782%2fcompress-folder-using-pigz%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          0














          PigZ will only compress single files. You will need to use an archiver to collect the files into a single file.



          You can use ZIP with no compression (-0) as an archiver, then pipe the output to PigZ for parallel compression.






          share|improve this answer
























          • How i can do that on windows for example ? about archiving file from command line and send output to pigz ?

            – Creative Man
            Sep 27 '16 at 17:11











          • Check out: msdn.microsoft.com/en-us/library/bb417343.aspx Specifically: The following command stores files in the cabinet with no compression: cabarc –m NONE n mycab.cab <files to arcive> Then run pigz on the cab file. Can easily be done in a BATCH file.

            – user2183032
            Sep 27 '16 at 17:26


















          0














          PigZ will only compress single files. You will need to use an archiver to collect the files into a single file.



          You can use ZIP with no compression (-0) as an archiver, then pipe the output to PigZ for parallel compression.






          share|improve this answer
























          • How i can do that on windows for example ? about archiving file from command line and send output to pigz ?

            – Creative Man
            Sep 27 '16 at 17:11











          • Check out: msdn.microsoft.com/en-us/library/bb417343.aspx Specifically: The following command stores files in the cabinet with no compression: cabarc –m NONE n mycab.cab <files to arcive> Then run pigz on the cab file. Can easily be done in a BATCH file.

            – user2183032
            Sep 27 '16 at 17:26
















          0












          0








          0







          PigZ will only compress single files. You will need to use an archiver to collect the files into a single file.



          You can use ZIP with no compression (-0) as an archiver, then pipe the output to PigZ for parallel compression.






          share|improve this answer













          PigZ will only compress single files. You will need to use an archiver to collect the files into a single file.



          You can use ZIP with no compression (-0) as an archiver, then pipe the output to PigZ for parallel compression.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Sep 27 '16 at 13:28









          user2183032user2183032

          1315




          1315













          • How i can do that on windows for example ? about archiving file from command line and send output to pigz ?

            – Creative Man
            Sep 27 '16 at 17:11











          • Check out: msdn.microsoft.com/en-us/library/bb417343.aspx Specifically: The following command stores files in the cabinet with no compression: cabarc –m NONE n mycab.cab <files to arcive> Then run pigz on the cab file. Can easily be done in a BATCH file.

            – user2183032
            Sep 27 '16 at 17:26





















          • How i can do that on windows for example ? about archiving file from command line and send output to pigz ?

            – Creative Man
            Sep 27 '16 at 17:11











          • Check out: msdn.microsoft.com/en-us/library/bb417343.aspx Specifically: The following command stores files in the cabinet with no compression: cabarc –m NONE n mycab.cab <files to arcive> Then run pigz on the cab file. Can easily be done in a BATCH file.

            – user2183032
            Sep 27 '16 at 17:26



















          How i can do that on windows for example ? about archiving file from command line and send output to pigz ?

          – Creative Man
          Sep 27 '16 at 17:11





          How i can do that on windows for example ? about archiving file from command line and send output to pigz ?

          – Creative Man
          Sep 27 '16 at 17:11













          Check out: msdn.microsoft.com/en-us/library/bb417343.aspx Specifically: The following command stores files in the cabinet with no compression: cabarc –m NONE n mycab.cab <files to arcive> Then run pigz on the cab file. Can easily be done in a BATCH file.

          – user2183032
          Sep 27 '16 at 17:26







          Check out: msdn.microsoft.com/en-us/library/bb417343.aspx Specifically: The following command stores files in the cabinet with no compression: cabarc –m NONE n mycab.cab <files to arcive> Then run pigz on the cab file. Can easily be done in a BATCH file.

          – user2183032
          Sep 27 '16 at 17:26




















          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%2f1128782%2fcompress-folder-using-pigz%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

          Сан-Квентин

          Алькесар

          Josef Freinademetz