The --si option is telling you the size with a K equal to 1000 instead of 1024 which over the size of pictures you are getting the size of makes a difference between the 2 sizes.  ...and apparently the -h option uses 1024 as it's K size overrides the --si option, probably because it came after the --si option.

If you want the most accurate, tell it to give you the size in bytes.  Sure the number will be huge but there is no mistaking the size you are getting.

Brian Cluff

On 3/22/20 10:56 AM, Michael wrote:
weird:
bmike1@MikesBeast:~$ du -s --si -h Pictures/
45G Pictures/
bmike1@MikesBeast:~$ du -s --si  Pictures/
48G Pictures/ (this must be what the GUI is reporting)
bmike1@MikesBeast:~$ du -s   Pictures/
46590432 Pictures/
bmike1@MikesBeast:~$ du -sh Pictures
45G Pictures

So which should I believe?

On Sun, Mar 22, 2020 at 1:01 PM Michael <[email protected]> wrote:
how bizarre. du reports 45 gig, ncdu reports 44.4 gig, and the gui
method reports 47.7 gig.


On Sun, Mar 22, 2020 at 12:41 PM Shaun Anderson
<[email protected]> wrote:
Try ncdu as well.

On Sun, Mar 22, 2020, 09:29 Michael <[email protected]> wrote:
I want to see how big /Pictures is to see about an external drive for
it. How do I do it?

--
:-)~MIKE~(-:
---------------------------------------------------
PLUG-discuss mailing list - [email protected]
To subscribe, unsubscribe, or to change your mail settings:
https://lists.phxlinux.org/mailman/listinfo/plug-discuss
---------------------------------------------------
PLUG-discuss mailing list - [email protected]
To subscribe, unsubscribe, or to change your mail settings:
https://lists.phxlinux.org/mailman/listinfo/plug-discuss


--
:-)~MIKE~(-:



---------------------------------------------------
PLUG-discuss mailing list - [email protected]
To subscribe, unsubscribe, or to change your mail settings:
https://lists.phxlinux.org/mailman/listinfo/plug-discuss

Reply via email to