Small Rust project for organizing and updating exif data for images.
Find a file
2026-06-15 10:35:24 -05:00
src Format cleanup 2026-06-12 09:08:50 -05:00
testdata Fixed bug that prevented writing to non jpeg files 2026-06-11 13:45:48 -05:00
.gitignore Initial commit for my first real Rust project 2026-02-08 11:32:16 -06:00
AGENTS.md Implemented --fixdate_from_file option 2026-06-11 13:18:04 -05:00
Cargo.lock Renamed to deusimg 2026-06-09 16:26:59 -05:00
Cargo.toml Added license and misc files 2026-06-15 10:35:24 -05:00
CODE_OF_CONDUCT.md Added license and misc files 2026-06-15 10:35:24 -05:00
CONTRIBUTING.md Added license and misc files 2026-06-15 10:35:24 -05:00
LICENSE-APACHE Added license and misc files 2026-06-15 10:35:24 -05:00
LICENSE-MIT Added license and misc files 2026-06-15 10:35:24 -05:00
README.md Added license and misc files 2026-06-15 10:35:24 -05:00

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.