.\" Automatically generated by Pandoc 2.14.1 .\" .TH "gdu" "1" "2021-11-27" "" "" .hy .SH NAME .PP gdu - Pretty fast disk usage analyzer written in Go .SH SYNOPSIS .PP \f[B]gdu [flags] [directory_to_scan]\f[R] .SH DESCRIPTION .PP Pretty fast disk usage analyzer written in Go. .PP Gdu is intended primarily for SSD disks where it can fully utilize parallel processing. However HDDs work as well, but the performance gain is not so huge. .SH OPTIONS .PP \f[B]-h\f[R], \f[B]--help\f[R][=false] help for gdu .PP \f[B]-i\f[R], \f[B]--ignore-dirs\f[R]=[/proc,/dev,/sys,/run] Absolute paths to ignore (separated by comma) .PP \f[B]-I\f[R], \f[B]--ignore-dirs-pattern\f[R] Absolute path patterns to ignore (separated by comma) .PP \f[B]-X\f[R], \f[B]--ignore-from\f[R] Read absolute path patterns to ignore from file .PP \f[B]-l\f[R], \f[B]--log-file\f[R]=\[dq]/dev/null\[dq] Path to a logfile .PP \f[B]-m\f[R], \f[B]--max-cores\f[R] Set max cores that GDU will use. .PP \f[B]-c\f[R], \f[B]--no-color\f[R][=false] Do not use colorized output .PP \f[B]-x\f[R], \f[B]--no-cross\f[R][=false] Do not cross filesystem boundaries .PP \f[B]-H\f[R], \f[B]--no-hidden\f[R][=false] Ignore hidden directories (beginning with dot) .PP \f[B]-n\f[R], \f[B]--non-interactive\f[R][=false] Do not run in interactive mode .PP \f[B]-p\f[R], \f[B]--no-progress\f[R][=false] Do not show progress in non-interactive mode .PP \f[B]-s\f[R], \f[B]--summarize\f[R][=false] Show only a total in non-interactive mode .PP \f[B]-d\f[R], \f[B]--show-disks\f[R][=false] Show all mounted disks .PP \f[B]-a\f[R], \f[B]--show-apparent-size\f[R][=false] Show apparent size .PP \f[B]-f\f[R], \f[B]-\[em]input-file\f[R] Import analysis from JSON file. If the file is \[dq]-\[dq], read from standard input. .PP \f[B]-o\f[R], \f[B]-\[em]output-file\f[R] Export all info into file as JSON. If the file is \[dq]-\[dq], write to standard output. .PP \f[B]-g\f[R], \f[B]--enable-gc\f[R][=false] Enable garbage collection during analysis .PP \f[B]--enable-profiling\f[R][=false] Enable collection of profiling data and provide it on http://localhost:6060/debug/pprof/ .PP \f[B]-v\f[R], \f[B]--version\f[R][=false] Print version .SH FILE FLAGS .PP Files and directories may be prefixed by a one-character flag with following meaning: .TP \f[B]!\f[R] An error occurred while reading this directory. .TP \f[B].\f[R] An error occurred while reading a subdirectory, size may be not correct. .TP \f[B]\[at]\f[R] File is symlink or socket. .TP \f[B]H\f[R] Same file was already counted (hard link). .TP \f[B]e\f[R] Directory is empty.