Small Rust project for organizing and updating exif data for images.
- Rust 100%
| src | ||
| testdata | ||
| .gitignore | ||
| AGENTS.md | ||
| Cargo.lock | ||
| Cargo.toml | ||
| CODE_OF_CONDUCT.md | ||
| CONTRIBUTING.md | ||
| LICENSE-APACHE | ||
| LICENSE-MIT | ||
| README.md | ||
deusimg
CLI tool to read, fix, and organize EXIF DateTimeOriginal in image files.
Supports JPEG and any other format handled by little_exif (PNG, WebP, TIFF,
HEIF, JXL).
Usage
Read EXIF date:
deusimg --showdate <files...>
Set EXIF date (date-only preserves existing time):
deusimg --fixdate "2024-06-15" <files...>
Set EXIF date (full datetime replaces both):
deusimg --fixdate "2024-06-15 12:30:45" <files...>
Extract date from filename:
deusimg --fixdate-from-name <files...>
Organize by date into YYYY/MM/ folders:
deusimg --organize --destination ~/Photos <files...>
Build
cargo build --release
Requires Rust ≥1.85 (edition 2024).
Configuration
Config file at ~/.config/deusimg/config.toml:
destination = "~/Photos"
License
Licensed under either of MIT or Apache 2.0 at your option.