Gdu provides an additional set of configuration options to the usual command line options.
You can get the full list of all possible options by running:
gdu --write-config
This will create file $HOME/.gdu.yaml
with all the options set to default values.
Let's go through them one by one:
Path to a logfile (default "/dev/null")
Import analysis from JSON file
Export all info into file as JSON
Absolute paths to ignore (separated by comma) (default [/proc,/dev,/sys,/run])
Absolute path regex patterns to ignore (separated by comma)
Read absolute path regex patterns to ignore from file
Set max cores that Gdu will use.
Use sequential scanning (intended for rotating HDDs)
Show apparent size
Show relative size
Show number of items in directory
Do not use colorized output
Do not use mouse
Do not run in interactive mode
Do not show progress in non-interactive mode
Do not cross filesystem boundaries
no-hidden
Ignore hidden directories (beginning with dot)
Do not allow deletions
Follow symlinks for files, i.e. show the size of the file to which symlink points to (symlinks to directories are not followed)
Enable collection of profiling data and provide it on http://localhost:6060/debug/pprof/
Enable memory garbage collection during analysis with constant level set by GOGC
Use persistent key-value storage for analysis data (experimental)
Path to persistent key-value storage directory (default is /tmp/badger)
Read analysis data from persistent key-value storage
Show only a total in non-interactive mode
Show sizes with decimal SI prefixes (kB, MB, GB) instead of binary prefixes (KiB, MiB, GiB)
Show sizes as raw numbers without any prefixes (SI or binary) in non-interactive mode
Set CWD variable when browsing directories
Delete items in the background, not blocking the UI from work
Delete items in parallel, which might increase the speed of deletion
Color of text for the selected row
Color of background for the selected row
Maximum length of file path for the current item in progress bar. When the length is reached, the path is shortened with "/.../".
Show size bar without Unicode symbols.
Sort items. Possible values:
- name - name of the item
- size - usage or apparent size
- itemCount - number of items in the folder tree
- mtime - modification time
Set sorting order. Possible values:
- asc - ascending order
- desc - descending order