Menu

stdout with zip format

Help
2020-11-23
2021-04-08
  • six thousand

    six thousand - 2020-11-23

    I am trying to use 7zip to create a ZIP format archive (due to rigid project specs) and pipe the stdout through pv for IO throttling, is this possible? Something like:

    7za a -so -tzip -an foo/ | pv -L 10m > foo.zip

    Presently with v 16.02 the above command fails with:

    System ERROR:
    E_NOTIMPL

    Any direction would be greatly appreciated.

     
  • Igor Pavlov

    Igor Pavlov - 2020-11-23

    That feature was improvced on 7-Zip 17.01.
    So you can try Windows version of 7-Zip 20.02 via wine.

     
  • Sam Tansy

    Sam Tansy - 2021-04-08

    You can use info-zip:

    $ zip -r -q -y - foo/ | pv > foo.zip
    
     

    Last edit: Sam Tansy 2021-06-07

Log in to post a comment.