#utility #directories #target #command-line-tool #cleaning #up #old

app lwa_cargo_vacuum

Simple CLI tool for cleaning up old target folders

3 unstable releases

0.2.0 Mar 27, 2024
0.1.1 Mar 27, 2024
0.1.0 Mar 26, 2024

#322 in Command line utilities

Download history 307/week @ 2024-03-24 86/week @ 2024-03-31 3/week @ 2024-04-07

396 downloads per month

MIT license

9KB
136 lines

lwa_cargo_vacuum

License: MIT crates.io crates.io

Simple CLI tool for cleaning up old target folders.

Finds artefacts from Rust and Unity game engine projects.

By default just lists founded directories, use remove flag to remove founded directories.

Simple CLI tool for cleaning up old target folders

Usage: lwa_cargo_vacuum.exe [OPTIONS] [PATH]

Arguments:
  [PATH]
          Relative path to operate on

Options:
  -d, --depth <DEPTH>
          directories search depth

      --minimal-size <MINIMAL_SIZE>
          Minimal size in MB

      --time-since-edit <TIME_SINCE_EDIT>
          Minimal time since last edit in hours

  -r, --remove
          removes target dirs matching requirements

  -h, --help
          Print help (see a summary with '-h')

  -V, --version
          Print version

Install

It can be installed using Rust Cargo:

cargo install lwa_cargo_vacuum

Dependencies

~11–20MB
~110K SLoC