Update cheatsheets

This commit is contained in:
ivuorinen
2024-02-21 11:19:49 +00:00
parent 4e88a1b42f
commit 3d653cc7e6
4803 changed files with 127002 additions and 0 deletions

41
gdu Normal file
View File

@@ -0,0 +1,41 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# 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}}`