1
0
Fork
You've already forked phindex
0
Photo indexer takes photos from source and copies them into destination so with filenames that combines EXIF timestamp and MD5 sum of the photos file contents.
  • C 88.5%
  • Shell 7.4%
  • Meson 4.1%
Jarkko Sakkinen cc31b8092a Bump the version to 1.0.10
Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@iki.fi>
2026年06月17日 19:05:22 +03:00
man/man1 Bump the version to 1.0.10 2026年06月17日 19:05:22 +03:00
scripts Remove packaging files 2026年04月19日 05:39:01 +03:00
src Fix arg_file initialization 2026年06月17日 19:05:03 +03:00
subprojects Fix compilation issues 2026年06月17日 18:50:56 +03:00
.clang-format Upgrade license to to GPL-3.0 2026年04月07日 04:10:41 +03:00
.clang-tidy Upgrade license to to GPL-3.0 2026年04月07日 04:10:41 +03:00
.editorconfig editorconfig: Add indentation rule for C 2026年03月16日 09:52:06 +02:00
.gitignore Fix compilation issues 2026年06月17日 18:50:56 +03:00
CODING_STYLE.md Upgrade license to to GPL-3.0 2026年04月07日 04:10:41 +03:00
LICENSE Upgrade license to to GPL-3.0 2026年04月07日 04:10:41 +03:00
meson.build Bump the version to 1.0.10 2026年06月17日 19:05:22 +03:00
README.md Correct README hashing description 2026年06月17日 17:32:07 +03:00

phindex

I've had a problem with digital photos coming from multiple tiers. Every device (phone, camera) has its own naming convention so it is hard to put them into common place. I eventually ended up into chaos where I had photos in various devices and didn't really have the time to manually organize them into any kind of directory hierarchy.

In order to address this problem I created this small piece of software that copies them to given place with filenames that are easy merge and have a logical organization. New filename consist of the photograph's EXIF timestamp and an xxhash32 digest. For recognized image formats the digest is computed from the decoded pixels, so re-encoded copies and different containers of the same image collide on purpose; other files fall back to hashing the raw bytes.

The indexer supports standard image types and Canon CR2 raw format.