dominant-dir

CLI tool to find the dir (from a source dir) with largest aggregated file size across immediate children

Usage no npm install needed!

<script type="module">
  import dominantDir from 'https://cdn.skypack.dev/dominant-dir';
</script>

README

dominant-dir

CLI tool to find the dir (from a source dir) with largest aggregated file size across immediate children

Build Status

Install

npm install --global dominant-dir

Usage

dominant-dir <sourceDir>

Examples

dominant-dir /documents

// => prints the directory within `/documents` that has the largest
// total file size across its immediate children.

License

MIT © Kevin Donahue