2022-04-15 10:48:20 +01:00
# duc
2023-11-15 04:25:25 +00:00
> A collection of tools for indexing, inspecting and visualizing disk usage.
> Duc maintains a database of accumulated sizes of directories in the file system, allowing to query this database, or creating fancy graphs to show where data is.
2022-04-15 10:48:20 +01:00
> More information: <https://duc.zevv.nl/>.
2023-11-15 04:25:25 +00:00
- Index the `/usr` directory, writing to the default database location `~/.duc.db` :
2022-04-15 10:48:20 +01:00
`duc index {{/usr}}`
2023-11-15 04:25:25 +00:00
- List all files and directories under `/usr/local` , showing relative file sizes in a [g]raph:
2022-04-15 10:48:20 +01:00
`duc ls --classify --graph {{/usr/local}}`
2023-11-15 04:25:25 +00:00
- List all files and directories under `/usr/local` using treeview recursively:
2022-04-15 10:48:20 +01:00
`duc ls --classify --graph --recursive {{/usr/local}}`
- Start the graphical interface to explore the file system using sunburst graphs:
`duc gui {{/usr}}`
- Run the ncurses console interface to explore the file system:
`duc ui {{/usr}}`
- Dump database info:
`duc info`