/dir-size

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

Primary LanguageC#MIT LicenseMIT

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