Replies: 1 comment 2 replies
-
Glad you found osxphotos and that it's useful for you! Your TOML looks ok with exception to comments below. However, if the goal is to be able to recreate a library, then
There is no option to skip only edited videos. You can skip all edited assets with You could run a script following export to clean up any video file with the
The "{created.strftime,%Y_%m_%d}" template is valid and I tested it works. I think you meant to say it doesn't work to produce the output format you wanted which of course it doesn't do because it doesn't match the format you specified. It would produce files named "2024_08_19.jpeg" and so on. The following would work for your format:
If you use If you want to proceed with the "correct" naming scheme, this would work:
This inserts the
Yes, and that's what the template above does.
This is a limitation of certain video files and exiftool. For normal Quicktime .mov files, the keywords are written to
This tests to see if image is edited and if so uses value
Yes! You must do this to avoid issues with the sqlite export database used by OSXPhotos. There is an open issue to automatically check for this (#1419)
If you do not use
No. This data is written to the image when using |
Beta Was this translation helpful? Give feedback.
-
Hello,
First of all, I would like to thank you for this library, which perfectly meets a crucial need for me.
My goal is to export enough information from Photos to be able to recreate the Photos library if necessary:
I've spent the past week browsing the osxphotos GitHub and forum to build my .toml configuration file.
Here is the .toml config export file I have developed:
Here are my questions :
Skip edited videos :
In my export, I have an edited version of the videos, but I don't want to include the edited version of the videos—only the photos. How can I do this?
There is no "skip_edited_videos = true" options...
Naming of the files :
filename = "{created.strftime,%Y_%m_%d}" is not working, so I couldn't try to put this in place.
How can I differentiate between images and videos?
Do I need to create one configuration file for the originals and another one for the edited files? I don't see how to do the equivalent of an "if" statement.
I saw that to recreate Live Photos, the file names need to be as they are in Photos (something like this - I can't find the associated discussion):
IMG_5062.heic (original file);
IMG_5062.mov (original file);
IMG_E5062.heic (edited photo).
If we proceed with the naming in point 2, does that mean I won't be able to reconstruct the Live Photos ?
Would the following proposal work?
Keywords/metadata for videos :
It seems that I can't write the keyword into videos metadata. What is wrong with my config file ?
How can I add an "edited" keyword to edited images?
I haven't been able to apply it only to edited files using the keyword template.
Export on NAS/External devices :
For now, I'm running tests on my local computer. When I do it on a NAS or an external drive, is it a good practice to set ramdb = true?
How to know if you are using the "copy on write" feature of APFS?
When importing, will we be able to find the location of the faces along with the associated names?
I'm open to all advice for completing this task. Thank you very much for your help. I'll be happy to share my configuration file to assist newcomers like myself.
👍
Beta Was this translation helpful? Give feedback.
All reactions