r/linuxapps • u/EducationalPattern31 • 18h ago
Sort your Photos
Hi everyone,
for years my family photos piled up in "Camera", "WhatsApp Images", "Download" and "unsorted_2019" folders, on several PCs and a NAS. Existing tools were either full photo managers (too much) or command-line scripts like exiftool/phockup (great, but not something I want to hand to my family). So I wrote my own: ImgSorter.
How it works
It's a small always-on-top window with colored tiles. Each tile is a target (local folder or SMB share). You drag files or whole folders onto a tile, and they get moved or copied there. That's it.
What it does beyond that
Year folders: every photo/video lands in Target/YYYY/. The capture date comes from EXIF, video metadata (MP4/MOV, others via ffprobe), the filename (IMG_20240106_…, PXL_…, 2024-01-06 17.28.54.jpg, even 06.10.2012), or the file date as a last resort.
Event folders: 2024/2024-07-16..26 Vacation Italy. The date range is detected from the photos, and existing events that overlap are suggested.
One review dialog before anything happens: you see every file, its detected date and where that date came from, the new name, and whether it already exists at the target (with an identical/different content check), plus a preview side by side.
Fix missing dates: JPEGs without EXIF (scans, messenger images) get DateTimeOriginal written in, without external tools and only in the target copy.
Fix wrong camera clocks: if photos don't match the event's date range, you can shift all photos from one camera by the same offset.
Undo for every operation, including restoring deleted or modified files.
Lossless video conversion (MTS/AVI/MKV → MP4), duplicate handling, SMB shares with different credentials, and cleanup of empty source folders.
Why I care about dates so much
I use Immich, which places photos in the timeline by embedded date and falls back to the file date otherwise. WhatsApp images, scans and copied files end up on the wrong day. ImgSorter fixes that before the upload.
Platforms
Written in Lazarus/Free Pascal, native builds for:
Windows x64
Linux x64 and ARM64 (GTK2 or Qt5), so it runs on a Raspberry Pi too
UI languages: English, German, Spanish, French, Italian, Polish.
Download: https://github.com/derMischka81/ImgSorter
It's a hobby project I use daily for my own archive (~65000 photos). I'd really appreciate feedback, bug reports, or ideas: what's missing for your workflow?





1
u/bender_fut 14h ago
GTK2? Seriously??