1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-07 13:15:39 +02:00
tldr/pages/common/gdu.md
Managor ba6daef39d
*: standardize regex usage (#17328)
Co-authored-by: Dylan <145150333+dmmqz@users.noreply.github.com>
2025-07-25 08:50:06 +03:00

36 lines
846 B
Markdown

# gdu
> Disk usage analyzer with console interface.
> More information: <https://github.com/dundee/gdu>.
- Interactively show the disk usage of the current directory:
`gdu`
- Interactively show the disk usage of a given directory:
`gdu {{path/to/directory}}`
- Interactively show the disk usage of all mounted disks:
`gdu --show-disks`
- Interactively show the disk usage of the current directory but ignore some sub-directories:
`gdu --ignore-dirs {{path/to/directory1,path/to/directory2,...}}`
- Ignore paths by `regex`:
`gdu --ignore-dirs-pattern '{{.*[abc]+}}'`
- Ignore hidden directories:
`gdu --no-hidden`
- Only print the result, do not enter interactive mode:
`gdu --non-interactive {{path/to/directory}}`
- Do not show the progress in non-interactive mode (useful in scripts):
`gdu --no-progress {{path/to/directory}}`