dua:tldr:b8892
The command "dua --count-hard-links" is used to display the disk usage of files and directories, while also counting the number of hard links pointing to them. Hard links are multiple references to the same file, which can contribute to the overall disk usage.
When you run the command "dua --count-hard-links", it will scan the specified directories and calculate the total disk usage, taking into account both the size of files and the number of hard links pointing to them.
The output will include a detailed breakdown of disk usage, showing individual file and directory sizes, along with the number of hard links associated with each item. This can help understand the true disk usage and identify files that might be duplicated through hard links.