# peltoche/lsd

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/peltoche-lsd).**

16,074 stars · 503 forks · Rust · Apache-2.0

## Links

- GitHub: https://github.com/Peltoche/lsd
- awesome-repositories: https://awesome-repositories.com/repository/peltoche-lsd.md

## Description

lsd is a directory listing tool and directory tree visualizer designed as a modern replacement for the standard Unix ls command. It provides a command line interface for listing directory contents and visualizing hierarchical folder structures with enhanced visual formatting.

The utility distinguishes itself through customizable themes, allowing users to modify the output appearance by mapping specific colors and icons to file names, types, or extensions. It uses extension-based icon mapping to provide visual file type identification via specific glyphs.

The tool covers functional domains including terminal interface customization and filesystem navigation. It retrieves metadata such as file sizes, permissions, and modification dates to render directory listings as either flat lists or recursive trees.

## Tags

### Web Development

- [CLI Directory Listings](https://awesome-repositories.com/f/web-development/directory-listing-interfaces/cli-directory-listings.md) — Provides a command-line interface for listing directory contents with enhanced colors and icons. ([source](https://github.com/peltoche/lsd#readme))

### Part of an Awesome List

- [Command Line Utilities](https://awesome-repositories.com/f/awesome-lists/devtools/command-line-utilities.md) — Acts as an essential terminal command for listing and manipulating the view of filesystem contents.
- [File Management](https://awesome-repositories.com/f/awesome-lists/devtools/file-management.md) — ls with many extra features.
- [System Utilities](https://awesome-repositories.com/f/awesome-lists/devtools/system-utilities.md) — Rewrite of ls with icons, colors, and tree views.

### Development Tools & Productivity

- [File System Navigators](https://awesome-repositories.com/f/development-tools-productivity/file-system-navigators.md) — Provides a specialized tool for managing and exploring directory paths within a command-line interface.
- [ls Replacements](https://awesome-repositories.com/f/development-tools-productivity/ls-replacements.md) — Serves as a modern replacement for the standard ls command with customizable themes and rich metadata.

### Operating Systems & Systems Programming

- [Filesystem Metadata Retrievers](https://awesome-repositories.com/f/operating-systems-systems-programming/filesystem-metadata-retrievers.md) — Queries the filesystem using system calls to determine file sizes, permissions, and modification dates for display.

### Software Engineering & Architecture

- [Recursive Directory Traversers](https://awesome-repositories.com/f/software-engineering-architecture/recursive-validation-engines/recursive-tree-traversers/file-system-traversers/recursive-directory-traversers.md) — Implements depth-first recursive walking of directory trees to render hierarchical filesystem maps.
- [Tree Visualizers](https://awesome-repositories.com/f/software-engineering-architecture/recursive-validation-engines/recursive-tree-traversers/file-system-traversers/recursive-directory-traversers/tree-visualizers.md) — Visualizes the hierarchical structure of folders and files in a tree format with guiding lines. ([source](https://github.com/peltoche/lsd#readme))

### User Interface & Experience

- [Terminal Color Formatting](https://awesome-repositories.com/f/user-interface-experience/component-utilities/color-utilities/terminal-color-formatting.md) — Applies ANSI color codes to highlight files and directories based on permissions and types for improved readability.
- [File Type Icon Mappers](https://awesome-repositories.com/f/user-interface-experience/file-type-icon-mappers.md) — Maps file extensions to specific Nerd Font glyphs to provide visual identification of file types.
- [Tree Visualization Tools](https://awesome-repositories.com/f/user-interface-experience/tree-visualization-tools.md) — Renders nested folder structures into hierarchical tree formats to visualize project organization.
- [Interface Appearance Customization](https://awesome-repositories.com/f/user-interface-experience/terminal-user-interfaces/visual-styling-presentation/interface-appearance-customization.md) — Allows users to modify the visual presentation of the file list through themes and styles.
- [Visual Theme Configurations](https://awesome-repositories.com/f/user-interface-experience/visual-theme-configurations.md) — Offers a configuration system for mapping specific colors and icons to file names and types. ([source](https://github.com/peltoche/lsd#readme))

### Data & Databases

- [CLI Layout Templates](https://awesome-repositories.com/f/data-databases/data-processing-pipelines/data-transformation/output-template-engines/cli-layout-templates.md) — Formats directory listings into aligned columns or detailed lists using customizable layout patterns.
