Show pretty print of du
outputs.
$ gem install 'du_pretty'
$ 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
# run
$ bundle install
$ bundle exec exe/du_pretty
# test
$ bundle exec rspec spec
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.
The gem is available as open source under the terms of the MIT License.
Everyone interacting in the DuPretty project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.