pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/gardebring/PowerColorLS

e-bedb41adf21fe337.css" /> GitHub - gardebring/PowerColorLS: PowerShell script to display a colorized directory and file listing with icons
Skip to content

PowerShell script to display a colorized directory and file listing with icons

License

Notifications You must be signed in to change notification settings

gardebring/PowerColorLS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PowerColorLS

A PowerShell module that displays a colorized directory and file listing with icons. Inspired by colorls

Screenshot 1

Overview

PowerColorLS is a PowerShell module that displays a colorized directory and file listing with icons in the terminal. For the module to work, you must first install Terminal-Icons and setup the Nerd Fonts

Installation

To install the module from the PowerShell Gallery:

Install-Module -Name PowerColorLS -Repository PSGallery

Example usage

Import-Module PowerColorLS
PowerColorLS

List all files and directories including hidden ones and ones starting with '.' in long listing (wide) format

PowerColorLS -a -l

Screenshot 2

List all files and directories including hidden ones and ones starting with '.' in long listing (wide) format and also include directory size

PowerColorLS -a -l --show-directory-size

Screenshot 3

List files only, followed by list directories only

PowerColorLS -f
PowerColorLS -d

Screenshot 4

Listing files in a git directory displays git status as well

PowerColorLS

Screenshot 5

Help

To get help about available arguments, run:

PowerColorLS --help

Output of help command:

Usage: PowerColorLs [OPTION]... [FILE]...
List information about files and directories (the current directory by default).
Entries will be sorted alphabetically if no sorting option is specified.

        -a, --all               do not ignore hidden files and files starting with .
        -l, --long              use a long listing format
        -r, --report            shows a brief report
        -1                      list one file per line
        -d, --dirs              show only directories
        -f, --files             show only files
        -ds, -sds, --sds, --show-directory-size
                                show directory size (can take a long time)
        -hi, --hide-icons       hide icons

sorting options:

        -sd, --sort-dirs, --group-directories-first
                                sort directories first
        -sf, --sort-files, --group-files-first
                                sort files first
        -t, -st, --st
                                sort by modification time, newest first

general options:

        -h, --help         prints this help
        -v, --version      show version information

Alias to ls

Set-Alias -Name ls -Value PowerColorLS -Option AllScope

About

PowerShell script to display a colorized directory and file listing with icons

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy