Programming language: Crystal
License: MIT License
Tags: Cli Utils    
Latest version: v0.1.1

lff alternatives and similar shards

Based on the "CLI Utils" category.
Alternatively, view lff alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of lff or a related project?

Add another 'CLI Utils' Shard



License: MIT Built with Crystal Build Status Latest release lff

Simple and straightforward large files finder utility for *nix, optimize for human.


There are workarounds about how to do it on *nix, for instance is using combination of find, du, sort, head.

find /your/directory -xdev -type f -exec du -sh {} ';' | sort -rh | head -n10
# will printout the top 10 largest files size within given directory

But I'm to lazy to memorize them all :sweat_smile: I need a simpler solution instead!

# my way
lff /your/directory


I simple benchmarking with time, with searching the top largest files within moderate Java project directory and about 11.901 files:

# with: find, du, sort, head
find /my/project/directory -xdev -type f -exec du -sh {} ';'  6.63s user 14.03s system 85% cpu 24.131 total
sort -rh  0.08s user 0.07s system 0% cpu 24.145 total
head -n10  0.00s user 0.00s system 0% cpu 24.141 total
# with: lff
./lff /my/project/directory  0.05s user 0.25s system 92% cpu 0.328 total

It is faster!

NOTE: Benchmarking is run on MBP2018 13" OSX 10.15.4.



brew tap mkdika/brew
brew install lff

Linux via snap

For more on installing & using snap with your Linux distribution, see the official documentation.

snap install lff

Build from source

Install Crystal language.

git clone https://github.com/mkdika/lff-cr.git
cd lff-cr/
shards build --production --release

The built binary will be available as ./bin/lff


# lff <directory-path>
lff ~/Downloads
# or simple `lff` only to run at current directory.


  1. Fork it (https://github.com/mkdika/lff-cr/fork)
  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 a new Pull Request


Copyright 2020 Maikel Chandika ([email protected]). Code released under the MIT License. See LICENSE file.

*Note that all licence references and agreements mentioned in the lff README section above are relevant to that project's source code only.