Loading repository data…
Loading repository data…
AkhrorKhasanov / repository
A Rust-based CLI tool that scans directories to identify stale files (e.g., unmodified for >30 days). Utilizing std::fs for metadata analysis and clap for configuration, it provides a safe, efficient way to manage disk space by automating the identification, deletion, or archival of "digital clutter."
A lightweight and efficient Rust-based CLI tool designed to identify and clean up "digital clutter" on your system.
This tool recursively scans a specified directory to identify files that haven't been modified for a set period (default is 30 days). It helps you maintain disk space and organize your file system by pinpointing stale files.
git clone https://github.com/AkhrorKhasanov/file_system_cleanup_tool.git
cd file_system_cleanup_tool
cargo run -- --help
⌨️ Usage You can run the tool using the following command structure:
General Format:
cargo run -- --folder "YOUR_FOLDER_PATH" --days NUMBER_OF_DAYS
Examples:
cargo run -- --folder "C:\Users\Documents\Downloads"
cargo run -- -f "C:\Users\Documents\Downloads" -d 60
📋 Arguments -f, --folder : The path to the directory you want to scan (Required).
-d, --days : The age threshold for files (in days). Default is 30.
-h, --help : Display the help menu.
🤝 Contributing
Contributions, issues, and feature requests are welcome! Feel free to check the issues page or submit a Pull Request.
This project was created to explore Rust systems programming and improve system organization.