wasted

1.0.9 • Public • Published

Build Status Coverage Status

Wasted

Wasted is a command line utility to find the largest files in a given directory, wasting space on your hard drive!

Usage

Install Wasted globally with npm and then run it anywhere within the file system:

npm i -g wasted
wasted

Options

By default, Wasted will run on the current working directory, but you can specify an absolute or relative path to analyze:

node index.js ~/Downloads

Flags

By default, Wasted searches non-recursively and ignores directories in the output. You may pass optional flags to modify this behavior.

  • -d: show directories in the output
  • -t: truncate the output to the 5 largest files and/or directories
  • -h: show hidden files
  • -r: recursive search, up to 5 levels deep. Limits output to the 50 largest files and/or directories.
node index.js ~/Downloads -r -t

TODOs

  • Allow for more recursive flag options, such as specifying levels
  • Extend functionality of -h flag to work on all operating systems

Readme

Keywords

none

Package Sidebar

Install

npm i wasted

Weekly Downloads

2

Version

1.0.9

License

ISC

Last publish

Collaborators

  • stefuhnee