Crates.io | flf |
lib.rs | flf |
version | 0.1.3 |
source | src |
created_at | 2022-05-04 08:14:08.217484 |
updated_at | 2024-08-27 08:54:24.142859 |
description | Find largest files in directory trees. |
homepage | https://codeberg.org/ManfredLotz/flf |
repository | https://codeberg.org/ManfredLotz/flf |
max_upload_size | |
id | 580276 |
size | 31,706 |
flf
is a simple to use program to find the largest files in one or more directory trees.
flf
, by default, shows the 10 largest files in the specified directory tree(s).
If for a certain size there exists multiple files then the output would show
more than 10 files.
Important: fzf
doesn't check if files with the same size are hardlinks.
Other similar utilities
Could be installed with cargo, i.e. cargo install flf
or by downloading the
static binary from https://codeberg.org/ManfredLotz/flf/releases .
Run flf --help
to get help.
flf 0.1.1
Manfred Lotz <manfred.lotz@posteo.de>
Find largest files in directory trees.
USAGE:
flf [OPTIONS] [DIRS]...
ARGS:
<DIRS>... Specify directories to check for largest files
OPTIONS:
-G Show sizes in powers of ten
--generate-completion <GENERATOR> [possible values: bash, elvish, fish, powershell, zsh]
-h, --help Print help information
-n <NUMFILES> Number of files to display [default: 10]
--skip-hidden Skip hidden files and directories
-V, --version Print version information
-X Don't descend into other file systems
Examples
flf /usr/share/man
flf $HOME/Downloads $HOME/Documents
flf -n 5 /usr/share/man 10:49:38
TOP5 Finding the 5 largest files in given directories
319.80 KiB /usr/share/man/man1/ffplay-all.1.gz
322.55 KiB /usr/share/man/man1/ffprobe-all.1.gz
328.10 KiB /usr/share/man/man1/x86_64-linux-gnu-g++-9.1.gz
/usr/share/man/man1/x86_64-linux-gnu-gcc-9.1.gz
360.00 KiB /usr/share/man/man1/x86_64-linux-gnu-g++-11.1.gz
/usr/share/man/man1/x86_64-linux-gnu-gcc-11.1.gz
409.48 KiB /usr/share/man/man1/ffmpeg-all.1.gz
Example
flf -n 5 /usr/share/man
Example
flf -X /data/docs
Example for fish:
flf --generate-completion fish > ~/.config/fish/completions/flf.fish