DuPretty
Show pretty print of du
outputs.
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
# Show results sorted by the file's size (default)
$ du_pretty <path> --sort
# 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.