LSD Next-Gen ls Command
github.com
2
Leaving SiteNav
External Link Disclaimer
You are about to visit github.com. This website is not operated by us. We are not responsible for its content or privacy practices.
About this website
LSD (LSDeluxe) is a free and open-source modern replacement for the traditional ls command, providing colorful, icon-enhanced file listings with additional features and visual improvements. Created by Peltoche (a French developer) in 2018 and written in Rust, LSD is inspired by the colorls Ruby project but reimplemented in Rust for superior performance and cross-platform compatibility. Key features: file type icons: displays Nerd Font icons for each file and directory, making it easy to visually distinguish file types at a glance (code files show language icons, images show picture icons, directories show folder icons, executables show app icons). Color-coded output: files and directories are color-coded by type and permissions, with customizable color schemes. Tree view: display directory contents in a tree structure (--tree) with configurable depth (--depth N), replacing the need for the separate tree command. Git integration: show Git status indicators next to files (--git), indicating modified, staged, untracked, and ignored files. Block size and permission formatting: human-readable file sizes (KB, MB, GB) with the -h flag. Long listing format: show file permissions, owner, group, size, and modification date (-l flag). Sorting: sort by name, size, modification time, extension, or Git status. Reverse sort. Directory-first: display directories before files (--group-directories-first). Ignore files: respect .gitignore files (--ignore-config) or specify ignore patterns. Hyperlinks: generate terminal hyperlinks to files (--hyperlink) for terminal emulators that support OSC 8. Date formatting: customizable date formats (relative, ISO, custom). Icons can be toggled on/off. Compatible with most ls flags for easy migration. Cross-platform: Linux, macOS, Windows, FreeBSD, Android (via Termux). Single static binary with no runtime dependencies. Apache-2.0.
Statistics
2
Views
0
Clicks
0
Like
0
Dislike