file-sniffer 0.1.29

Command-line tool to find build artifacts and junk on your computer.
Documentation

file-sniffer

Build Status

If you do a significant amount of programming, you'll probably end up with build artifacts scattered about. sniff is a tool to help you find those artifacts. It's especially useful when you're writing build systems, because you can make sure your clean command atually cleans everything.

Features

  • find "likely build artifact" directories
    • use .gitignore/path to make decision
  • match speed of gnu utils on traversals
    • faster when finding artifacts
    • faster with excludes
  • colorized output
  • sort results by size

Languages Supported

The intent is to support basically anything, so if your DOC is not on the list, feel free to open a PR or start an issue.

  • Haskell (incl. GHCJS)
  • Rust
  • Julia
  • Python
  • Elm
  • Nim
  • Vimscript
  • Idris

Installation

Binary install

The easiest way to install for Linux or Windows is to download a binary from the releases page.

Cargo

If your platform doesn't have binaries, get cargo. Then:

 $ cargo install file-sniffer

Use

Search current directory for directories with build artifacts:

 $ sniff artifacts

Look in $DIR for build artifacts and sort by size:

 $ sniff artifacts $DIR --sort

Look for artifacts or directories containing artifacts that occupy more than 1GB of disk space:

 $ sniff artifacts -t1G

Accessibility

To turn off colorized output:

export CLICOLOR=0