size of folders

Brian Cluff brian at snaptek.com
Sun Mar 22 11:07:38 MST 2020


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 at MikesBeast:~$ du -s --si -h Pictures/
> 45G Pictures/
> bmike1 at MikesBeast:~$ du -s --si  Pictures/
> 48G Pictures/ (this must be what the GUI is reporting)
> bmike1 at MikesBeast:~$ du -s   Pictures/
> 46590432 Pictures/
> bmike1 at MikesBeast:~$ du -sh Pictures
> 45G Pictures
>
> So which should I believe?
>
> On Sun, Mar 22, 2020 at 1:01 PM Michael <bmike1 at gmail.com> 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
>> <shaunandersonaz at gmail.com> wrote:
>>> Try ncdu as well.
>>>
>>> On Sun, Mar 22, 2020, 09:29 Michael <bmike1 at gmail.com> 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 - PLUG-discuss at lists.phxlinux.org
>>>> To subscribe, unsubscribe, or to change your mail settings:
>>>> https://lists.phxlinux.org/mailman/listinfo/plug-discuss
>>> ---------------------------------------------------
>>> PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org
>>> To subscribe, unsubscribe, or to change your mail settings:
>>> https://lists.phxlinux.org/mailman/listinfo/plug-discuss
>>
>>
>> --
>> :-)~MIKE~(-:
>
>



More information about the PLUG-discuss mailing list