Forrest logo
tool overview
On this page you find all important commands for the CLI tool duc. If the command you are looking for is missing please ask our AI.

duc

Duc is a command line tool used for disk usage analysis. It is designed to analyze and summarize the disk usage of a specified directory or file system. Duc provides a comprehensive report of the disk usage, which includes the total size occupied by files and directories, the percentage of disk space used by each item, and the largest files and directories.

One of the key features of Duc is its ability to efficiently scan and analyze disk usage even on large file systems. It achieves this by utilizing an optimized disk space usage database (Duc DB) which stores the statistics of analyzed directories for faster retrieval and comparison.

Duc also supports various options and filters to customize the analysis, allowing users to exclude or include specific files or directories based on criteria such as file size, modification date, or regular expressions. It can also generate HTML-based reports for easier viewing and sharing of the disk usage analysis results.

Overall, Duc is a powerful and versatile tool for gaining insights into disk space usage, helping users identify and manage large files or directories that occupy excessive disk space.

List of commands for duc:

  • duc:tldr:06c9b duc: List all files and directories under /usr/local, showing relative file sizes in a [g]raph.
    $ duc ls -Fg ${-usr-local}
    try on your machine
    explain this command
  • duc:tldr:0fefa duc: List all files and directories under /usr/local using treeview recursively.
    $ duc ls --classify --graph --recursive ${-usr-local}
    try on your machine
    explain this command
  • duc:tldr:151a6 duc: List all files and directories under /usr/local, showing relative file sizes in a [g]raph.
    $ duc ls --classify --graph ${-usr-local}
    try on your machine
    explain this command
  • duc:tldr:3242a duc: Start the graphical interface to explore the file system using sunburst graphs.
    $ duc gui ${-usr}
    try on your machine
    explain this command
  • duc:tldr:4ccba duc: Index the /usr directory, writing to the default database location ~/.duc.db.
    $ duc index ${-usr}
    try on your machine
    explain this command
  • duc:tldr:a11bc duc: Dump database info.
    $ duc info
    try on your machine
    explain this command
  • duc:tldr:f5117 duc: List all files and directories under /usr/local using treeview recursively.
    $ duc ls -Fg -R ${-usr-local}
    try on your machine
    explain this command
  • duc:tldr:fb63e duc: Run the ncurses console interface to explore the file system.
    $ duc ui ${-usr}
    try on your machine
    explain this command
tool overview