Crates.io | dir_cleaner |
lib.rs | dir_cleaner |
version | 0.1.0 |
source | src |
created_at | 2022-07-25 01:34:36.039237 |
updated_at | 2022-07-25 01:34:36.039237 |
description | A simple command line utility that will allow you to identify duplicated files and delete them if necessary. |
homepage | |
repository | https://github.com/jmj0502/dir_cleaner.git |
max_upload_size | |
id | 632287 |
size | 17,669 |
A simple binary crate
written in order to learn how to create,
organize and distribute Rust
apps.
The main purpose of the crate is to help you identify duplicate files in nested directories and simplify their deletion (if necessary).
The crate is super simple to use, just call it from the
command line and provide the relative path
of the folder
you want to inspect. EG:
dir_cleaner ./test
Once you've done so, the program will ask you for a file name
;
such a name will be used to find any file with that exact
name on the specified directory
and its respective subdirectories
.
Then, the program will proceed to expose the list of the
found files (along with their creation_date
and their relative path
) and ask you if you want to keep all of them,
if that's not the case it will help you with the deletion process.