An open API service indexing awesome lists of open source software.

https://github.com/fargelus/luggage

:handbag: Cli tool which finds most heavyweight and less used files in directory
https://github.com/fargelus/luggage

bash ruby

Last synced: 3 months ago
JSON representation

:handbag: Cli tool which finds most heavyweight and less used files in directory

Awesome Lists containing this project

README

        

# Luggage 👜

Luggage(lge) its a simple cli tool.
If you ever wants to know which files in your filesystem outdate this gem for you. Luggage finds less used files in choosen directory and sorts it by file size. After launch it prints report with some statics about file.

![Demo](./about/demo_launch.png)

## Installation

Add this line to your application's Gemfile:

```ruby
gem 'luggage'
```

And then execute:

$ bundle install

Or install it yourself as:

$ gem install luggage

## Usage

``` shell
$ lge --help
Usage: lge [options]

Options:
-r, -R, --recursive Search files recursively
--sort=[size|time] Sort output files with given param
-h, --help Prints help
```

## Usage examples

### With sort option:
![Example_1](./about/example_1.png)

### All available options:
![Example_2](./about/example_2.png)

## License

The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).