| Crates.io | sortit |
| lib.rs | sortit |
| version | 0.1.0 |
| created_at | 2025-10-29 22:12:11.415003+00 |
| updated_at | 2025-10-29 22:12:11.415003+00 |
| description | Sortit is a Rust-based CLI tool to automatically organize your files by type and modified date, with duplicate detection and an optional watch mode for real-time organization. |
| homepage | |
| repository | https://github.com/subhdotsol/FileOrganizer |
| max_upload_size | |
| id | 1907436 |
| size | 29,571 |
FileOrganizer is a Rust-based CLI tool to automatically organize your files by type and modified date, with duplicate detection and an optional watch mode for real-time organization.
You can run the program with different flags. Below is a table of common test commands:
| Command | Description |
|---|---|
cargo run -- --path ./test-folder |
Organize files in ./test-folder once, without watching. |
cargo run -- --path ./test-folder --watch |
Organize files in ./test-folder and continuously watch for new files. |
jpg, jpeg, png, bmp, tiffgifmp4, mov, avi, mkvmp3, wav, flacpdf, docx, txtzip, rar, 7zimages/2025-10-25)Metadata-based sorting (--metadata)
If --metadata is used:
If --metadata is not used:
The program falls back to regular sorting based on file extension and last modified date.
Upload to cloud / Google Drive via CLI (Planned)
Future enhancements
Support for more file types and custom folder structures.
Improved error handling and logging.
Configurable rules via a .toml or .yaml config file.
git clone https://github.com/yourusername/FileOrganizer.git
cd FileOrganizer
cargo build