obliviate

Crates.ioobliviate
lib.rsobliviate
version0.2.0
sourcesrc
created_at2019-08-07 08:01:22.812399
updated_at2024-09-07 18:19:20.057165
descriptionSmall utility to delete files older than a certain amount of days.
homepagehttps://github.com/pmarino90/obliviate
repositoryhttps://github.com/pmarino90/obliviate
max_upload_size
id154761
size22,310
Paolo Marino (pmarino90)

documentation

README

Obliviate

Small utility to delete files older than a certain amount of days.

Works in its basic functionalities, however error handling is not perfect.

How to install

At the moment is possible to install using cargo install obliviate or building from source. I am also thinking to upload the binary release on Github as well.

Usage

Obliviate
Paolo Marino
Simple utility that removes file older than a certain amount of days.

Usage: obliviate [OPTIONS] <PATH>...

Arguments:
  <PATH>...  Path(s) where to look for files to delete.

Options:
  -a, --age <AGE>  Number of days the file should be old to be removed. [default: 30]
  -d, --dry-run    When provided no files are deleted.
  -v, --verbose    Outputs verbose logs to track which files are deleted.
  -h, --help       Print help
  -V, --version    Print version

Changelog

0.2.0

  • Bump libraries
  • Support multiple paths
  • Improve performances

0.1.3

  • Remove empty folder after removing files

0.1.2

  • Main usable version

Note

The utility has been only tested on macOS 10.14.5. However the standard library is used so it should work on other platforms as well.

Contribute

Bug or feature requests are more than welcome, I will try to followup on them. Also PRs are welcome in case you feel you want to fix/add features.

Commit count: 12

cargo fmt