So I have an interesting problem that I can't seem to solve.
I have a directory structure that get's created by an application called photoprism and it's really well organized for the most part. All media in a directory structure YYYY/DD.
What I'm looking to do is split that file structure into photos/YYYY/DD live_photos/YYYY/DD and videos/YYYY/DD
Unfortunately no media managers like plex or jellyfin allow me to not show all files in a library so I'm forced to manipulate the data. I'm pretty new to exiftool I've really only used it for reading details and I have over 50k media files so I want to make sure I get this right.
How do you identify live photos (using either file extension of some tag(s) returned by ExifTool)?
The basic command could be something like this (assuming the current directory is the one containing the files):
exiftool -directory=videos/%d -ext mp4 -ext mov -ext avi -r .
This will MP4, MOV and AVI videos into the same hierarchy rooted in the "videos" directory.
- Phil