https://github.com/ttys3/tdu
tdu - Top Disk Usage This command-line tool estimates the disk space occupied by all files in a given path. It displays a sorted list of the biggest items. The estimation method is similar to the du -skx command from GNU Coreutils package. mirror of https://bitbucket.org/josephpaul0/tdu
https://github.com/ttys3/tdu
Last synced: 12 months ago
JSON representation
tdu - Top Disk Usage This command-line tool estimates the disk space occupied by all files in a given path. It displays a sorted list of the biggest items. The estimation method is similar to the du -skx command from GNU Coreutils package. mirror of https://bitbucket.org/josephpaul0/tdu
- Host: GitHub
- URL: https://github.com/ttys3/tdu
- Owner: ttys3
- License: other
- Created: 2019-09-28T15:23:14.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-09-28T15:24:23.000Z (almost 7 years ago)
- Last Synced: 2025-07-14T10:22:00.631Z (12 months ago)
- Language: Go
- Size: 105 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: Changelog
- License: COPYING
Awesome Lists containing this project
README
# tdu - Top Disk Usage
This command-line tool estimates the disk space occupied by all files in a
given path. It displays a sorted list of the biggest items. The estimation
method is similar to the `du -skx` command from GNU Coreutils package.
##Program usage
```
Usage: tdu [options] [directory]
-b n Number of big files shown (default 7)
-l n Number of depth1 items shown (default 15)
--max Show deepest and longest paths
-o file Export result to Ncdu JSON format
(https://dev.yorhel.nl/ncdu/jsonfmt)
-e n Number of empty directories shown (default 0)
-d n Number of access denied directories shown (default 0)
-f n Number of character and block devices shown (default 0)
-t n Number of sockets and named pipes shown (default 0)
-s n Number of file status errors shown (default 0)
--human Print sizes in human readable format
--version Program info and usage
--license Show the GNU General Public License V2
--help Program help
```
##Quick start guide for end users
- If you just want to use the program on Linux or Windows x86-64, then you can download a ready-to-run binary at https://bitbucket.org/josephpaul0/tdu/downloads/
##Quick start guide for advanced users / developers
- You need a Go compiler
- Do not use Go v1.12 or v1.12.1 on Windows, because of this issue: https://github.com/golang/go/issues/30883
- Clone the git repository or download the source archive.
- Run 'make' or 'build.cmd' to build the binary
##Other Operating Systems
- If you use FreeBSD or macOS, please test the code and submit patches for supporting those operating systems.
##Project information:
- Author: Joseph Paul
- Homepage: https://bitbucket.org/josephpaul0/tdu
- License: GNU General Public Licence version 2.
##Screenshot
