Forrest logo
back to the gdu tool

gdu:tldr:66ac6

gdu: Do not show the progress in non-interactive mode (useful in scripts).
$ gdu --no-progress ${path-to-directory}
try on your machine

The command "gdu --no-progress ${path-to-directory}" is used to get the disk usage statistics for a specific directory without displaying the progress bar.

Here's a breakdown of the command:

  • "gdu" stands for "Go Disk Usage" and it's a command-line tool for analyzing disk usage in Linux systems.
  • "--no-progress" is an option or flag used with "gdu" to disable the progress bar while the command is running. By default, the progress bar shows the progress of scanning the directories.
  • "${path-to-directory}" is a placeholder that should be replaced with the actual path to the directory for which you want to get the disk usage information.

When you run this command, "gdu" will analyze the specified directory and provide a summary of the disk usage, including the size and number of files and directories. The "--no-progress" flag ensures that the progress bar is not displayed during the analysis.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the gdu tool