I’m working on a very unorganized archive of a friend spanning many years and with a lot of duplication and compicated structure. I want to split the archive into directories that are primarily occupied with photos and videos and upload them to an immich server. And then upload the rest to a seafile server.
Before going into building my own logic, I wanted to ask if anything ready or half-ready exists over there.
The complication is that directories with photos and videos may contain occasionally other files like thumbnails, “DS_Store” and similar garbage. So I can’t rely that these will be only image and video files.
Also in other directories there might occasionally be image files but that are not to be part of the photo archive. For example his audio recordings with some images of work-in-progress CD cover. Also means audio and video files related to his CDs should stay in the file archive, not the immich server.
Basically looking for suggestions to make this separation process less cumbersome.
PS Recursively list all directories that contain one or more jpg image files is slightly related but not really up to the task here