[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: humanizing the control t function?



Hello, I think that you are looking for the "--humanize-numbers"

user@host:~$ sudo tarsnap --print-stats --humanize-numbers
                                       Total size  Compressed size
All archives                               295 GB           220 GB
  (unique data)                            8.7 GB           6.4 GB



Em sáb, 4 de jun de 2016 às 19:52, Sarah Alawami <marrie12@gmail.com> escreveu:
I forgot what signal that sends to tarsnap but is there a way to humanize that set of numbers? I'm horrible with byte calculation. I can approximate to a point but still. Is there a way to make those numbers read a bit more friendly? With out giving the file name the example would be.
4456448 / 11044528 bytes)

Is there a way to make that look better let's say kb or even mb? Depending on the number shown? I dunno if this would make tarsnap consume more memory especially on slower machines or what not. But just a thought.

hope that helps a bit. Loving the program so far.

Blessings and happy Saturday
--
Diego Veríssimo Lakatos
https://techti.net