Skip to content

nullnull/du_pretty

Repository files navigation

DuPretty

Gem MIT License CircleCI Maintainability Test Coverage

Show pretty print of du outputs.

Image from Gyazo

Installation

$ gem install 'du_pretty'

Usage

$ du_pretty <path>

# specify max depth (default 1)
$ du_pretty <path> -d 2

# Filter results of `du` by its file's size
$ du_pretty <path> --size 50M

Image from Gyazo

# Show results sorted by the file's size (default)
$ du_pretty <path> --sort

Image from Gyazo

# Show tree like results.
$ du_pretty <path> --tree

# help
$ du_pretty --help

Development

# run
$ bundle install
$ bundle exec exe/du_pretty

# test
$ bundle exec rspec spec

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/nullnull/du_pretty. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

License

The gem is available as open source under the terms of the MIT License.

Code of Conduct

Everyone interacting in the DuPretty project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.

About

Show pretty print of `du` outputs

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published