A simple and fast rebuild of the UNIX ls
command.
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
mint install maclong9/swift-list
Note
You can also clone the repository and build the package yourself before moving to your executables.
sls [--all] [--long] [--recurse] [--color] [--icons] [--one-line] [<path>]
-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.
These options provide the best readability while still giving detailed information.
sls -cli [-ra] [<path>]