Skip to content
This repository was archived by the owner on Oct 17, 2022. It is now read-only.
This repository was archived by the owner on Oct 17, 2022. It is now read-only.

Sizes not correctly sorted #3

Open
@mdehollander

Description

@mdehollander

Thanks for providing this ncdu-diff tool. It makes it more easy to monitor differences in disk usage.

When we load the json file produced with the ncdu-diff python script with the patched ncdu (1.14), we see this:

   20,8 GiB [##########] ****
    2,8 GiB [#         ] ****
  139,2 MiB [          ] ****
   19,3 GiB [          ] ****

As you can see this is not correctly sorted on size. Pressing s also does not produce a correctly sorted output.

Pressing g to show the percentages shows a negative value:

 20,8 GiB [475,1%] ****
    2,8 GiB [ 63,9%] ****
  139,2 MiB [  3,1%] ****
   19,3 GiB [-442,1%]****   

Any idea why this happens? In the folder with the negative percentage there is new data added

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions