SortBytes

Sorts lines by human-readable byte sizes (what you get from du -h)

Installation

$ gem install sort_bytes

Usage

sort_bytes <filename>

or

some_command | sort_bytes

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request