A simple and fast file organizer written in Rust. Automatically sorts files in a folder by file type (extension) or last modified date.
- ✅ Sort files by type (
--mode type) - 📆 Sort files by last modified date (
--mode date) - 📂 Organizes files into subfolders
- 🧼 Skips directories and hidden files
- ⚡ Built with performance in mind
git clone https://github.com/GolgothaAksanti/file-organizer-rust.git
cd file-organizer-rustMake sure you have Rust installed: https://rustup.us
cargo build --releaseThe binary will be located at target/release/rust-file-orginizer
cargo run -- --folder <folder_path> --mode <type|date>
cargo run -- --folder ./downloads --mode typedownloads/
├── jpg/
│ └── image.jpg
├── pdf/
│ └── document.pdf
cargo run -- --folder ./downloads --mode datedownloads/
├── 2025-06-07/
│ └── example.txt
| Argument | Short | Required | Description |
|---|---|---|---|
--folder |
-f |
✅ | Path to the folder to organize |
--mode |
-m |
✅ | Sorting mode:type or date |
Use a test folder with mixed files and run:
cargo run -- --folder ./test --mode type
# or
cargo run -- --folder ./test --mode date
-
Recursive folder scanning
-
Custom destination folder
-
Undo option
-
Config file support (TOML/YAML)
-
GUI version with Tauri or egui
Made with 🦀 by Golgotha Aksanti