Results 1 to 1 of 1

Thread: zipsavings - Python 3 script to see how efficient archive is using 7z.exe

  1. #1
    Member FRex's Avatar
    Join Date
    Oct 2018
    Location
    Poland
    Posts
    1
    Thanks
    0
    Thanked 2 Times in 1 Post

    Post zipsavings - Python 3 script to see how efficient archive is using 7z.exe

    Hello.

    I often compress something or store old game installers from GOG or ISOs in 7z files so to know how much I'm saving I've made a Python 3 script/module that using external 7z.exe (just '7z' on Linux) sums up and neatly displays it all. I've called it zipsavings.

    GitHub: https://github.com/FRex/zipsavings

    Example (more examples in README on GitHub):

    Code:
    $ zipsavings ./test/dracula.*
    ERROR: ./test/dracula.txt : Can not open the file as archive.
    There were 1 errors.
    END OF ERRORS.
    
    archive           |unpacked |packed   |saved    |saved_percent|file_count|type|size
    ------------------|---------|---------|---------|-------------|----------|----|---------
    ./test/dracula.7z |846.9 KiB|268.2 KiB|578.6 KiB|68.32%       |1         |7z  |268.4 KiB
    ./test/dracula.zip|846.9 KiB|310.4 KiB|536.4 KiB|63.34%       |1         |zip |310.6 KiB

  2. Thanks (2):

    JamesWasil (17th October 2018),smaffulli (17th October 2018)

Similar Threads

  1. Replies: 41
    Last Post: 24th July 2017, 19:05
  2. Give me newest Win64 lz4.exe & lz5.exe binaries
    By lz77 in forum Data Compression
    Replies: 3
    Last Post: 21st July 2017, 10:47
  3. IS script help
    By zhuda in forum The Off-Topic Lounge
    Replies: 3
    Last Post: 10th February 2015, 18:03
  4. 7z.exe stdin stdout (for lzma2)
    By lordvj in forum Data Compression
    Replies: 6
    Last Post: 16th May 2013, 09:22
  5. Most efficient/practical compression method for short strings?
    By never frog in forum Data Compression
    Replies: 6
    Last Post: 1st September 2009, 04:05

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •