1NCDU(1) ncdu manual NCDU(1)
2
3
4
6 ncdu - NCurses Disk Usage
7
8
10 ncdu [-hqvx] [--exclude PATTERN] [-X FILE] dir
11
12
14 ncdu (NCurses Disk Usage) is a curses-based version of the well-known
15 'du', and provides a fast way to see what directories are using your
16 disk space.
17
18
20 -h Print a small help message
21
22 -q Quiet mode. While calculating disk space, ncdu will update the
23 screen 10 times a second by default, this will be decreased to
24 once every 2 seconds in quiet mode. Use this feature to save
25 bandwidth over remote connections.
26
27 -v Print version.
28
29 -x Only count files and directories on the same filesystem as the
30 specified dir.
31
32 --exclude PATTERN
33 Exclude files that match PATTERN. This argument can be added
34 multiple times to add more patterns.
35
36 -X FILE, --exclude-from FILE
37 Exclude files that match any pattern in FILE. Patterns should be
38 seperated by a newline.
39
40
42 ? Show help + keys + about screen
43
44 up, down j, k
45 Cycle through the items
46
47 right, enter, l
48 Open selected directory
49
50 left, <, h
51 Go to parent directory
52
53 n Order by filename (press again for descending order)
54
55 s Order by filesize (press again for descending order)
56
57 a Toggle between showing disk usage and showing apparent size.
58
59 d Delete the selected file or directory. An error message will be
60 shown when the contents of the directory do not match or do not
61 exist anymore on the filesystem.
62
63 t Toggle dirs before files when sorting.
64
65 g Toggle between showing percentage, graph, both, or none. Per‐
66 centage is relative to the size of the current directory, graph
67 is relative to the largest item in the current directory.
68
69 e Show/hide 'hidden' or 'excluded' files and directories. Please
70 note that even though you can't see the hidden files and direc‐
71 tories, they are still there and they are still included in the
72 directory sizes. If you suspect that the totals shown at the
73 bottom of the screen are not correct, make sure you haven't
74 enabled this option.
75
76 i Show information about the current selected item.
77
78 r Refresh/recalculate the current directory.
79
80 q Quit
81
82
84 Written by Yoran Heling <projects@yorhel.nl>.
85
86
88 Infinite. Please contact the author if you find one.
89
90
92 du(1)
93
94
95
96ncdu-1.6 Oct 23, 2009 NCDU(1)