#target #directories #old #game-engine #target-directory #projects #cli-tool

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

#268 in Game dev

Download history 334/week @ 2024-03-26 62/week @ 2024-04-02

58 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–19MB
~109K SLoC