From ca6d87cd3080c1e836277709be22452efe92283b Mon Sep 17 00:00:00 2001 From: Ein Verne Date: Wed, 8 Sep 2021 20:04:21 +0800 Subject: [PATCH] gdu: add page (#6447) --- pages/common/gdu.md | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 pages/common/gdu.md diff --git a/pages/common/gdu.md b/pages/common/gdu.md new file mode 100644 index 000000000..ca1946e03 --- /dev/null +++ b/pages/common/gdu.md @@ -0,0 +1,36 @@ +# gdu + +> Disk usage analyzer with console interface. +> More information: . + +- 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}}`