lff
Version, currently 0.1.02 versions
- 0.1.1latestMay 7, 2020
- 0.1.0not indexedMay 15, 2021
github.com/mkdika/lff-cr
Simple and straightforward large files finder utility for *nix, optimize for human.
19 stars
0 dependents
License: MIT
Nothing has been indexed for 0.1.0 yet. The tag is recorded, its shard.yml has not been read, so the manifest and dependency list below are empty because they are unknown rather than because they are absent.
Installation
# Add this to your shard.yml
dependencies:
lff:
github: mkdika/lff-cr
version: ~> 0.1.0Then run:
shards installshard.yml
No shard.yml has been indexed for 0.1.0. You can read it on the repository.
Dependencies
Unknown: the shard.yml for this version has not been read yet.
README
This README is the one indexed from the repository at its latest ref, not from the tag for this version.
# lff-cr
[](/LICENSE)
[](https://crystal-lang.org/)
[](https://travis-ci.org/mkdika/lff-cr)
[](https://github.com/mkdika/lff-cr/releases)
[](https://snapcraft.io/lff)
Simple and straightforward large files finder utility for *nix, optimize for human.
## Why?
There are workarounds about how to do it on *nix, for instance is using combination of `find`, `du`, `sort`, `head`.
```bash
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!
```bash
# my way
lff /your/directory
```
## Benchmark
I simple benchmarking with `time`, with searching the top largest files within moderate Java project directory and about 11.901 files:
```bash
# 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
```
```bash
# 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._
## Installation
### MacOS
```bash
brew tap mkdika/brew
brew install lff
```
### Linux via [snap](https://snapcraft.io/)
For more on installing & using `snap` with your Linux distribution, see the [official documentation](https://docs.snapcraft.io/installing-snapd).
```bash
snap install lff
```
## Build from source
Install [Crystal](https://crystal-lang.org/install/) language.
```bash
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`
## Usage
```bash
# lff <directory-path>
lff ~/Downloads
# or simple `lff` only to run at current directory.
```
## Contributing
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
## Contributors
- [Maikel Chandika](https://github.com/mkdika) - creator and maintainer
## Copyright and License
Copyright 2020 Maikel Chandika (mkdika@gmail.com). Code released under the MIT License. See [LICENSE](/LICENSE) file.
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This release
- Version
0.1.0- Tagged
- May 15, 2021
- Commit
cc6793353935- Indexed
- not yet
Dependents
No indexed shard depends on this one yet.
Repository
github.com/mkdika/lff-cr
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 13, 2026
- Synced
- Aug 12, 2026
- Versions
- 2