lla - The Elegant ls Alternative
Overview
lla (Lightweight ls Alternative) is an elegant and efficient command-line utility written in Rust, designed to be a fast and minimalistic replacement for the classic "ls" command. Say goodbye to cluttered outputs and embrace a refreshing listing experience with lla. Whether you're dealing with small directories or vast file landscapes, lla delivers lightning-fast performance with its minimalist design.
Features
-
Simplicity & Speed:
llais crafted to be lightweight and lightning-fast, offering a sleek, no-nonsense listing experience. -
Long Format: Get detailed file information with the
-lflag, displaying essential details for each file. -
Sorting Options: Sort files by name, size, or date with ease using the
-sflag. -
Filtering Flexibility: Filter files by extension or pattern using the
-fflag, with support for dot (.) prefix for extensions. -
Recursive Exploration: Effortlessly explore subdirectories with recursive listing, enabled by the
-rflag. -
Custom Depth: Control recursion with precision by setting the maximum depth using the
-doption.
Installation
lla can be easily installed using Cargo, the package manager for Rust.
-
Install Rust: Make sure you have Rust installed on your system. If not, install Rust.
-
Install
lla: Open your terminal and run the following command to installllausing Cargo:
- Ready to Use: Once the installation is complete, you can start using
llaimmediately. Simply typellain your terminal, and let the magic begin!
Usage
lla [FLAGS] [OPTIONS] [DIRECTORY]
Flags
-
-l,--long: Utilize the long listing format, providing detailed information for each file. -
-r,--recursive: Explore subdirectories recursively.
Options
-
-s,--sort [SORT_BY]: Sort files by name, size, or date. Values for SORT_BY: "name", "size", or "date". -
-f,--filter [FILTER_BY]: Filter files by extension or pattern. Dot (.) prefix for extension filtering. -
-d,--depth [DEPTH]: Set the maximum depth of recursion when using recursive mode.
Arguments
DIRECTORY: The directory to list. Default is the current directory.
Examples
- List files and directories in the current directory:
- List files and directories in a specific directory:
- Use the long listing format:
- Sort files by size:
- Filter files by extension:
- Explore subdirectories recursively with a depth limit:
- Combine flags and options:
# or
Contributing
lla is an open-source project that warmly welcomes contributions from the community. If you encounter any issues or have exciting ideas for improvements, don't hesitate to submit a pull request or open an issue.
License
This project is licensed under the MIT License, allowing you to use, modify, and distribute it freely. Embrace the elegance of lla, the perfect replacement for the traditional "ls" command.