My custom build of ls in Rust.
(Inspired and based on: https://youtu.be/5UA9UWWAagc?si=nceQeo-33Cpjpb-e)
- Tabled and colorful output
- File type (directory / file)
- File Permissions (Normal / Octal)
- File Size (B to OB)
- Modification Time with toggling
- Grabbing files by strings
- JSON formatting
- Rust (>= 1.65.0)
- Cargo (>= 1.65.0)
$ cargo install iyanlsOr use the executable files from assets.
$ git clone https://github.com/lordpaijo/iyanls.git
$ cd iyanls
$ cargo build --releaseMake sure to add the target/release directory to your PATH environment variable.
$ iyanls | ils [path] [options]Examples:
- List files in the current directory:
$ iyanls | ils - List files in a specific directory:
$ iyanls | ils /path/to/directory - List files with deep processing:
$ iyanls | ils --deep /path/to/directory - List files with JSON formatting:
$ iyanls | ils --json /path/to/directory - List files that match a string:
$ iyanls | ils --grab string /path/to/directory
See iyanls --help for more information.