mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-07 07:46:02 +02:00
gdu: add page (#6447)
This commit is contained in:
parent
82bb3a0560
commit
ca6d87cd30
1 changed files with 36 additions and 0 deletions
36
pages/common/gdu.md
Normal file
36
pages/common/gdu.md
Normal file
|
@ -0,0 +1,36 @@
|
||||||
|
# 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 regular expression:
|
||||||
|
|
||||||
|
`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}}`
|
Loading…
Add table
Reference in a new issue