Skip to content

Latest commit

 

History

History
35 lines (28 loc) · 554 Bytes

README.md

File metadata and controls

35 lines (28 loc) · 554 Bytes

dir-size

A simple dotnet global tool to calculate the size of each sub-dir.

Install:

dotnet tool install --global dir-size

Usage:

Usage: dir-size [options]

Options:
  -v|--version  Show version information
  -?|-h|--help  Show help information
  -d|--dir      The directory to work with, default is the current dir
  -s|--sort     Sort by size

Example:

Current directory:

dir-size

Specify the target directory

dir-size -d path/to/dir

Sort by size:

dir-size -s -d path/to/dir