Skip to content

Commit 86df1ef

Browse files
committed
Version 1.32
Fix incorrect truncation of long filenames. Add option to print sizes in human readable format. Add option to show deepest and longest paths (default: no). Count empty directories. Add option to list empty directories. Add option to list access denied directories. Add option to list sockets and named pipes. Add option to list character and block devices. Add option to show file status errors.
1 parent 6f7b34a commit 86df1ef

File tree

5 files changed

+257
-25
lines changed

5 files changed

+257
-25
lines changed

Changelog

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,19 @@
1+
2019-05-12 Version 1.32
2+
* Fix incorrect truncation of long filenames
3+
* Add option to print sizes in human readable format
4+
* Add option to show deepest and longest paths (default: no)
5+
* Count empty directories
6+
* Add option to list empty directories
7+
* Add option to list access denied directories
8+
* Add option to list sockets and named pipes
9+
* Add option to list character and block devices
10+
* Add option to show file status errors
11+
112
2019-03-30 Version 1.30
213
* Show scanning progress
314
* [Windows] Add build.cmd script to compile tdu.exe
415
* [Windows] Inform user to run tdu.exe from the command line
5-
* [Windows] console clear and resize, enable scrollback.
16+
* [Windows] Console clear and resize, enable scrollback.
617

718
2019-03-12 Version 1.28
819
* Export to Ncdu JSON format (https://dev.yorhel.nl/ncdu/jsonfmt)

README.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,22 @@ Usage: tdu [options] [directory]
1111
1212
-l n Number of depth1 items shown (default 15)
1313
14-
--nomax Do not show deepest and longest paths
14+
--max Show deepest and longest paths
1515
1616
-o file Export result to Ncdu JSON format
1717
(https://dev.yorhel.nl/ncdu/jsonfmt)
1818
19+
-e n Number of empty directories shown (default 0)
20+
21+
-d n Number of access denied directories shown (default 0)
22+
23+
-f n Number of character and block devices shown (default 0)
24+
25+
-t n Number of sockets and named pipes shown (default 0)
26+
27+
-s n Number of file status errors shown (default 0)
28+
29+
--human Print sizes in human readable format
1930
--version Program info and usage
2031
--license Show the GNU General Public License V2
2132
--help Program help

doc/tdu.1

Lines changed: 24 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.TH TDU 1 "2019-03-12" "1.28" "Top Disk Usage manual"
1+
.TH TDU 1 "2019-05-12" "1.32" "Top Disk Usage manual"
22

33
.SH NAME
44
tdu \- get information about largest files and directories
@@ -20,11 +20,13 @@ directory by default.
2020
.SH FEATURES
2121
* Counts files, directories, links, sockets, pipes.
2222
.br
23+
* Counts empty directories, denied accesses, errors.
24+
.br
2325
* Shows deepest directory path.
2426
.br
2527
* Shows longest file path.
2628
.br
27-
* Display information about the filesystem (type, mount options, size, inodes).
29+
* Displays information about the filesystem (type, mount options, size, inodes).
2830

2931
.SH OPTIONS
3032
.TP
@@ -34,8 +36,26 @@ Number of depth1 items shown (default 15)
3436
.BI \-b \ n
3537
Number of big files shown (default 7)
3638
.TP
37-
.BR \-\-nomax
38-
Do not show deepest and longest paths
39+
.BR \-\-max
40+
Show deepest and longest paths (default no)
41+
.TP
42+
.BI \-e \ n
43+
Number of empty directories shown (default 0)
44+
.TP
45+
.BI \-d \ n
46+
Number of access denied directories shown (default 0)
47+
.TP
48+
.BI \-f \ n
49+
Number of character and block devices shown (default 0)
50+
.TP
51+
.BI \-t \ n
52+
Number of sockets and named pipes shown (default 0)
53+
.TP
54+
.BI \-s \ n
55+
Number of file status errors shown (default 0)
56+
.TP
57+
.BR \-\-human
58+
Print sizes in human readable format (default Kb only)
3959
.TP
4060
.BI \-o \ file
4161
Export result to Ncdu JSON format

0 commit comments

Comments
 (0)