kilobyte / compsize

btrfs: find compression type/ratio on a file or set of files
Other
343 stars 23 forks source link

Add Options for Displayed Output Units #13

Open Enverex opened 6 years ago

Enverex commented 6 years ago

By default the program defaults to the most sane units for output, e.g. 12GB or 37MB but this doesn't allow for much precision. e.g. when comparing sizes, 11GB allows for almost 1GB of variance - 11GB could be anywhere between 10.5GB and 11.4GB.

Can you please add an option to specify the output units so that the values can be in more detail? e.g.

Data        83%      1.4G         1.7G         1.7G

... with such an option would allow you to specify Megabytes as the unit, and in turn show...

Data        83%      1432M         1722M         1722M