Skip to content

torstenvl/betterls

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
January 24, 2023 04:08
December 26, 2022 02:12
December 26, 2022 02:12
January 24, 2023 03:32
December 26, 2022 02:12
December 26, 2022 02:12
December 26, 2022 02:12

betterls — list directory contents

USAGE

betterls [−@ABCFGHILOPRSTUWabcdefghiklmnopqrstuvwxy1%,] [−-color=when] [−-group-directories-first] [−-group-dots-extra-first] [−D format] [file ...]

DESCRIPTION

This is a modified version of the Darwin/macOS ls command with the following two additional options:

−-group-directories-first

Sort directories before other file types.

−-group-dots-extra-first

Always sort hidden directories and files before visible directories and files, even when directories are otherwise grouped first.

HISTORY

This project is forked from the BSD-licensed macOS Monterey source code for the ls utility. Some interface definitions are only available in non-free header files, so they were reverse-engineered. All of the code in this repository is available under the permissive BSD license.

Last updated by Joshua Lee Ockert <torstenvl(at)gmail.com> on January 24, 2023

About

A modified `ls` for macOS to add the options --group-directories-first and --group-dots-extra-first

Resources

License

Stars

Watchers

Forks