COLORLS(1)

πŸ“¦ version 1.5.0, in nixos 26.05, nixpkgs unstable

πŸ¦‹ COLORLS(1) β€” the colorls Manual, but make it group chat πŸ’…

okay so this is the colorls(1) page from the colorls Manual, and bestie, it's literally about making your directory listings cute and useful. let's get into it πŸŽ€


🌸 NAME 🌸

colorls β€” list directory contents with colors and icons 🎨

✨ SYNOPSIS ✨

colorls [OPTION]... [FILE]...

πŸ’– DESCRIPTION πŸ’–

colorls lists information about the given *FILE*s. It uses different colors and icons for known file types. iconic behavior, no cap πŸ’…

By default, the output is sorted alphabetically. yes, alphabetically, bestie 🌈

Mandatory arguments to long options are mandatory for short options too β€” no sneaky loopholes 🫢

πŸ’… OPTIONS πŸ’…

  • -a, --all β€” do not ignore entries starting with .
  • -A, --almost-all β€” do not list . and ..
  • -d, --dirs β€” show only directories
  • -f, --files β€” show only files
  • --gs, --git-status β€” show git status for each file
  • -p β€” append / indicator to directories
  • -i, --inode β€” show inode number
  • --report β€” show report: short, long (default if omitted)
  • --indicator-style β€” append indicator with style STYLE to entry names: none, slash (-p) (default)
  • --format β€” use format: across (-x), horizontal (-x), long (-l), single-column (-1), vertical (-C)
  • -1 β€” list one file per line
  • --tree β€” shows tree view of the directory
  • -x β€” list entries by lines instead of by columns
  • -C β€” list entries by columns instead of by lines
  • --without-icons β€” list entries without icons
  • -l, --long β€” use a long listing format
  • -o β€” use a long listing format without group information
  • -g β€” use a long listing format without owner information
  • -G, --no-group β€” show no group information in a long listing
  • --time-style β€” use time display format
  • --no-hardlinks β€” show no hard links count in a long listing
  • -L β€” show information on the destination of symbolic links
  • --non-human-readable β€” show file sizes in bytes only
  • --sd, --sort-dirs, --group-directories-first β€” sort directories first
  • --sf, --sort-files β€” sort files first
  • -t β€” sort by modification time, newest first
  • -U β€” do not sort; list entries in directory order
  • -S β€” sort by file size, largest first
  • -X β€” sort by file extension
  • --sort β€” sort by WORD instead of name: none, size (-S), time (-t), extension (-X)
  • -r, --reverse β€” reverse order while sorting
  • -h, --human-readable:
  • --color β€” colorize the output: auto, always (default if omitted), never
  • --light β€” use light color scheme
  • --dark β€” use dark color scheme
  • --hyperlink:
  • --help β€” prints this help
  • --version β€” show version

πŸ“ EXAMPLES πŸ“

show the given file:

colorls README.md

show matching files and list matching directories:

colorls *

filter output by a regular expression:

colorls | grep PATTERN

several short options can be combined:

colorls -d -l -a
colorls -dla

πŸ‘‘ AUTHOR πŸ‘‘

Written by Athitya Kumar. πŸ’–


πŸŽ€ sign-off bestie: source/version colorls 1.5.0, date April 2023, manual tag COLORLS(1) β€” mwah, go slay some directories πŸ’…πŸ’–

πŸ“¦ where this page comes from