Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/maclong9/list

Quickly list files found in your operating system
https://github.com/maclong9/list

ls swift unix utilities

Last synced: 10 days ago
JSON representation

Quickly list files found in your operating system

Awesome Lists containing this project

README

        

# SwiftList

[![](https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2Fmaclong9%2Fswift-list%2Fbadge%3Ftype%3Dswift-versions)](https://swiftpackageindex.com/maclong9/swift-list)

A __simple__ and __fast__ rebuild of the UNIX `ls` command.

## Installation

### Manually

``` sh
sudo curl -L -o /usr/local/bin/sls https://github.com/maclong9/swift-list/releases/download/v1.0.3/sls
sudo chmod +x /usr/local/bin/sls
```

### With Mint

``` sh
mint install maclong9/swift-list
```

> [!NOTE]
> You can also clone the repository and build the package yourself before moving to your executables.

## Usage

``` sh
sls [--all] [--long] [--recurse] [--color] [--icons] [--one-line] []
```

### Options

- `-a, --all`: Display all files, including hidden.
- `-l, --long`: Display file attributes, one file per line
- `-r, --recurse`: Recurse into directories.
- `-c, --color`: Colorize the output.
- `-i, --icons`: Display icons denoting file type.
- `-o, --one-line`: Display each file on its own line.
- `-h, --help`: Show help information.

### Recommended Options

These options provide the best readability while still giving detailed information.

``` sh
sls -cli [-ra] []
```