-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Closed
Labels
Description
Is your feature request related to a problem? Please describe.
After compressing a file in the CLI some summary text is outputted listing the size before and after compression. If the file is sufficiently large it's very hard to determine the file size visually. This is because the size is reported in bytes. A file that is 200 megabytes has nine digits, and a file that is 20 megabyte has eight digits. Files with large sizes like this are very hard to compare.
Describe the solution you'd like
Instead of reporting the file size in bytes, instead report in a more human readable string format.
Current:
:zstd input.bin
input.bin : 45.57% (200836721 => 91519541 bytes, input.bin.zst)
Proposed:
:zstd input.bin
input.bin : 45.57% (199.1M => 89.4M bytes, input.bin.zst)
Describe alternatives you've considered
Other than training myself to visually compare 10 digit numbers (unlikely) I don't see an alternative.
Reactions are currently unavailable