Skip to content

maclong9/swift-list

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SwiftList

A simple and fast rebuild of the UNIX ls command.

Installation

Manually

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

mint install maclong9/swift-list

Note

You can also clone the repository and build the package yourself before moving to your executables.

Usage

sls [--all] [--long] [--recurse] [--color] [--icons] [--one-line] [<path>]

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.

sls -cli [-ra] [<path>]