Maid Sweeper

This is the Rust version of maid-sweeper, a tool to clean up your files and directories.

No, instead of cleaning the unused files, it calls a maid to label them and sweep them under the rug.

If desired, the maid can practice Danshari given permission. For example, she can sell your unused iPad for money.

Like Toki, she has two modes:

tag: Label the files/directories automatically, based on their types and names.

sweep: Carry out actions based on the labels.

Feature

Installation

  1. Run cargo install maid-sweeprs.

Usage

  1. Copy patterns.yaml to ~/.maid-sweepers/patterns.yaml.
  2. Start a MongoDB instance.
  3. Call maid tag D:\Study, then you can find tagged entries in the database. Sweeping works on all directories tagged.
  4. Call maid sweep -t video game -x del \q \f {}, and the maid is going to remove all 'video' or 'game' tagged files and directories.

Ideas