dua:tldr:c149b
The command dua --apparent-size
is used to display the actual size of files and directories on a storage device, rather than their allocated size.
The dua
command is a disk usage analyzer that helps to analyze and report the space used by files and directories on a file system.
The --apparent-size
flag is an option that instructs dua
to show the apparent size of files and directories. The apparent size is the actual space occupied by the data, rather than the allocated size. This means that it considers the actual size of files, even if they are sparse (contain large areas of zeros) or have been compressed.
When this command is executed, dua
scans the file system and provides a summary of the space used by different files and directories. By using the --apparent-size
option, it ensures that the reported sizes are accurate and reflect the actual space consumed by the files, rather than just their allocated size.
Note: This command assumes that the dua
command-line tool is installed and available in the system's PATH.