Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mange/dutop
A little utility program written in Rust as a learning experience
https://github.com/mange/dutop
Last synced: 18 days ago
JSON representation
A little utility program written in Rust as a learning experience
- Host: GitHub
- URL: https://github.com/mange/dutop
- Owner: Mange
- License: mit
- Created: 2015-10-12T22:17:20.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2015-10-23T18:56:13.000Z (about 9 years ago)
- Last Synced: 2023-04-10T08:21:31.906Z (over 1 year ago)
- Language: Rust
- Size: 203 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# dutop
[![Build Status](https://travis-ci.org/Mange/dutop.svg?branch=master)](https://travis-ci.org/Mange/dutop) [![license](http://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/Mange/dutop/blob/master/LICENSE) [![Coverage Status](https://coveralls.io/repos/Mange/dutop/badge.svg?branch=master&service=github)](https://coveralls.io/github/Mange/dutop?branch=master)
Simple command to list the largest files and/or directories recursively.
## Usage
```
USAGE:
dutop [OPTIONS] [--] [DIR [DIR...]]FLAGS:
-a, --all Show hidden files and directories. They are always counted for the total sum.
--files Print the largest files instead of a tree. Depth will say how far down to look for the "largest" file.
-h, --help Prints help information
-r, --recursive Show the entire tree instead of just the direct children. This implies unlimited --depth.
-V, --version Prints version informationOPTIONS:
-d, --depth The depth to recurse when printing out entries. Defaults to 1. 0 or "all" means unlimited depth.
-n The max number of children shown per directory. Defaults to 1. 0 or "all" means no limit.ARGS:
DIR... The directories to look in (defaults to current working directory).
```## Installation
Download the source code and Rust.
```
cargo build --release
cp target/release/dutop ~/bin/dutop
```## License
MIT
Copyright © 2015 Magnus Bergmark