Crates.io | obliviate |
lib.rs | obliviate |
version | 0.2.0 |
source | src |
created_at | 2019-08-07 08:01:22.812399 |
updated_at | 2024-09-07 18:19:20.057165 |
description | Small utility to delete files older than a certain amount of days. |
homepage | https://github.com/pmarino90/obliviate |
repository | https://github.com/pmarino90/obliviate |
max_upload_size | |
id | 154761 |
size | 22,310 |
Small utility to delete files older than a certain amount of days.
Works in its basic functionalities, however error handling is not perfect.
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.
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
0.2.0
0.1.3
0.1.2
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.
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.