List handsomely is a customizable directory listing tool. Currently, it prints file names, but future updates will include metadata filters and more advanced features.
Ensure you have Nerd Fonts installed and enabled for the symbols.
| Package Manager | Command | |—————–|———| | cargo | cargo install lh |
Documentation is available here.
./
.--all
or -a
flag: Prints all files, including hidden ones.--long
or -l
flag: Provides detailed information about the files.--hidden
flag: Prints only hidden files.--p-type file
flag: Prints only files.--p-type dir
flag: Prints only directories.--filter
or -f
flag: Prints filtered output.--one-col
or -o
flag: Prints not like tables like list.--sort
or -s
flag: changes the sort type name or size.--recursive
or -r
flag: Recursively lists.--search
or -S
flag: searchs the key in the list.
Here are some examples of how to use the lh
command:
lh
lh --all
lh --p-type file
lh --p-type dir
lh --long
lh --recursive
lh --filter <file_type>
lh --search <file_name>