Ratio is a handy tool for anyone who likes to work with the command line. It helps you figure out compression ratios easily!
So, here’s how it works: you give it a list of files, and it spits out a column showing the compression ratios. The first file in your list is the reference file, while all the others are considered test files. The output will show you how compressed each test file is compared to your reference file.
You must specify at least one reference file and one test file for Ratio to do its magic! If you want to learn more about using this tool, check out the download page.
Ratio comes with a bunch of options that make it even more useful:
--help (-h)
: Displays help info.--version (-v)
: Shows which version you’re using.--reference (-R)
: Sets your reference file.--test (-T)
: Defines your test files.--show-reference (-r)
: Uses the reference file as a test file too.--show-name (-n)
: Displays the name of each file.--show-size (-s)
: Shows the size of each file.--kb (-k), --mb (-m), --gb (-g)
: Lets you display sizes in KB, MB, or GB.--percent (-p)
: Shows percent instead of just ratio.--precision
: Sets how precise you want your numbers to be!If you want to see how it works in action, here’s a quick example:
> ratio sample.doc sample.zip
6.04
Go to the Softpas website, press the 'Downloads' button, and pick the app you want to download and install—easy and fast!
SoftPas is your platform for the latest software and technology news, reviews, and guides. Stay up to date with cutting-edge trends in tech and software development.
Subscribe to newsletter
© Copyright 2024, SoftPas, All Rights Reserved.