| Crates.io | dl-cleaner |
| lib.rs | dl-cleaner |
| version | 0.1.0 |
| created_at | 2025-11-16 14:27:07.421575+00 |
| updated_at | 2025-11-16 14:27:07.421575+00 |
| description | A tool to clean up the contents of your Downloads folder. |
| homepage | https://github.com/SuperSandyman/dl-cleaner |
| repository | https://github.com/SuperSandyman/dl-cleaner |
| max_upload_size | |
| id | 1935548 |
| size | 31,870 |
dl-cleaner is a lightweight Rust CLI tool that scans your Downloads directory and organizes files by extension.
It identifies files, shows a categorized preview, and (optionally) moves them into folders such as Images/, Videos/, Documents/, and more.
cargo install dl-cleaner
Requires a recent Rust toolchain.
# Scan the Downloads directory (no changes)
dl-cleaner --scan-only
# Scan a custom directory
dl-cleaner --dir /path/to/Downloads --scan-only
# Scan and organize (move files by extension)
dl-cleaner
dl-cleaner --dir /path/to/Downloads
Options:
--dir <PATH>
Path to the directory to scan.
Defaults to your system’s ~/Downloads (resolved via dirs::download_dir()).
--scan-only
Performs a scan and shows categorized results without moving any files.
--scan-only, moves files into extension-based folders under the same directory.file (1).ext.Scanning: ~/Downloads
Images:
- photo.jpg
- screenshot.png
Videos:
- clip.mp4
Documents:
- resume.pdf
MIT