phorg
Photo organizer.
Given a <src> and <dst> directories:
- finds photo-or-video files in
<src> - fetches their Exif data
- computes their hash digests
- moves-or-copies them into
<dst>/{<img-dir>,<vid-dir>}/<year>/<month>/<day>/<date>--<time>--<digest>[.<extension>]where<img-dir>and<vid-dir>default to "img" and "vid", respectively, and are customizable via CLI.
Example:
2020/
├── 11
│ ├── 29
│ │ ├── 2020-11-29--15:23:10--crc32:c7d15ddf.heic
│ │ ├── 2020-11-29--15:23:13--crc32:70088557.heic
│ │ ├── 2020-11-29--15:23:14--crc32:ff6fdcb2.heic
│ └── 30
│ ├── 2020-11-30--08:20:00--crc32:08a5aa4a.heic
│ ├── 2020-11-30--08:23:41--crc32:bba07552.heic
│ ├── 2020-11-30--08:24:24--crc32:94c0f155.heic