summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRamon Garcia-Perez <ramgarcia@outlook.com>2024-03-31 11:24:05 -0400
committerDaniel Milde <daniel@milde.cz>2024-04-02 10:43:29 +0200
commit16009ceb16298f37f948f0d44bae8b8bc3d66afb (patch)
treea777f879487d32fd99d587f2c72e6ccfd3854e1a
parentd5c186cddc14accde04e6995ce51d5d756b6d961 (diff)
chore(docs): update usage guide & examples
-rw-r--r--README.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/README.md b/README.md
index 32508f1..fb0f2ee 100644
--- a/README.md
+++ b/README.md
@@ -51,6 +51,7 @@ Flags:
-m, --max-cores int Set max cores that GDU will use. 8 cores available (default 8)
-c, --no-color Do not use colorized output
-x, --no-cross Do not cross filesystem boundaries
+ --no-delete Disable write operations
-H, --no-hidden Ignore hidden directories (beginning with dot)
--no-mouse Do not use mouse
--no-prefix Show sizes as raw numbers without any prefixes (SI or binary) in non-interactive mode
@@ -61,6 +62,7 @@ Flags:
--sequential Use sequential scanning (intended for rotating HDDs)
-a, --show-apparent-size Show apparent size
-d, --show-disks Show all mounted disks
+ -C, --show-item-count Show number of items in directory
-B, --show-relative-size Show relative size
--si Show sizes with decimal SI prefixes (kB, MB, GB) instead of binary prefixes (KiB, MiB, GiB)
--storage-path string Path to persistent key-value storage directory (default is /tmp/badger) (default "/tmp/badger")
@@ -85,6 +87,7 @@ In interactive mode:
gdu # analyze current dir
gdu -a # show apparent size instead of disk usage
+ gdu --no-delete # prevent write operations
gdu <some_dir_to_analyze> # analyze given dir
gdu -d # show all mounted disks
gdu -l ./gdu.log <some_dir> # write errors to log file