GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - EricFrancis12/ds: Display the sizes of files and directories using horizontal bar charts

BranchesTags
Open more actions menu

Latest commit

 

History

63 Commits
63 Commits

Folders and files

NameName
Last commit message
Last commit date
src
src
 
 
.gitignore
.gitignore
 
 
Cargo.lock
Cargo.lock
 
 
Cargo.toml
Cargo.toml
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 

Repository files navigation

Directory Stats (ds)

A simple command-line utility written in Rust that displays the sizes of files and directories using horizontal bar charts.

It allows sorting by file name, size, or type.

Features

📁 Recursively calculates sizes of files and directories

🔤 Sort output by file name or file size

📊 Visual ASCII bar chart representation in terminal

Installation

cargo install --git https://github.com/EricFrancis12/ds

Usage

ds [OPTIONS] [DIR]

Arguments

  • [DIR]: (optional) Path to the target directory. Defaults to the current directory.

Options

  • -n, --name: Sort entries alphabetically by name
  • -s, --size: Sort entries by size (largest first)
  • -t, --type: Sort entries by type (directories first, then files)

Example Usage

# Run in current directory (default)
ds

# Analyze a specific directory
ds /path/to/dir

# Sort by name
ds -n /path/to/dir

# Sort by size
ds -s /path/to/dir

# Sort by type
ds -t /path/to/dir

About

Display the sizes of files and directories using horizontal bar charts

Topics

disk-space-analyzerdisk-usage-analyzerdisk-usage-visualizerfilesystem-toolfilesystem-tools

Resources

Readme
MIT license
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.