GithubHelp home page GithubHelp logo

gaelgirodon / dirstat Goto Github PK

View Code? Open in Web Editor NEW
13.0 13.0 0.0 504 KB

A simple tool that helps to clean up directories by scanning them and generating interactive statistics reports.

License: GNU General Public License v3.0

JavaScript 45.92% Go 34.79% HTML 4.20% CSS 15.09%
clean cli directory folder green-it report scan statistics

dirstat's People

Contributors

gaelgirodon avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

dirstat's Issues

Option for cross-filesystem-recursion

Hi,

I'm using btrfs and btrfs-subvolumes are classified as cross-filesystem, while they aren't really. This causes a dirstat / to return a tiny 37KiB html and 1.1KiB json.

dirstat doesn't even recurse into /etc, /opt and /usr which aren't even a subvolume, but just regular folders.

I DO get the message Skipping "/bin" (not a directory nor a regular file), which true, it is a symlink to /usr/bin which is normal for ubuntu. But I only get the message for /bin

In addition: btrfs supports extent-sharing, so with btrfs fi du <file> I can check the total size of a file, the amount that is shared with other files and the space used exclusively by this file. It would be nice if we got support for that aswell, but I fully understand if that is too complex

Add an option to build non-recursive reports for large directories

As specified in the README, scanning directories with many files can take a long time and leads to a large report.
However, scanning a large directory or a full disk can be very interesting.
Maybe an option to build non-recursive reports could be interesting.
This would be a report with top-level files and folders only.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.