-
Okay, I have finally sifted through 10 terabytes of photos and videos using any tool imaginary, and am left with three photo libraries. For the final step of cleanup I will need file-based access to them, so my plan is to:
I know I can reimport with --exportdb, but I guess that won't work if I rename files in the mean time. Would a sidecar file include all data that apple photos can make use of when reimporting? Are there any useful way for merging, or would I have three separate imports to the same library? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 5 replies
-
Hello @ZarK Step 1: Export the LibrariesUsing
Step 2: Perform Scripted OperationsAfter exporting, you can script operations on the files, such as renaming them. However, note that renaming will break direct reimport with the Workaround for Renamed Files:
Step 3: Reimport and Merge LibrariesThere are two approaches to merging the libraries: Option 1: Use Apple Photos Directly
Option 2: Use
|
Beta Was this translation helpful? Give feedback.
-
Also can we follow each other ? |
Beta Was this translation helpful? Give feedback.
-
The best way to do this is probably to use something like PowerPhotos. If you want to use OSXPhotos to merge (using the
If possible, I would do any filename manipulation upon export using the very flexible osxphotos template language. E.g. use If using The only metadata that cannot be restored from sidecars is albums and folders because these are not stored in the sidecar. That is the biggest advantage of using
Will import all photos in Using this combined with sidecar files will allow you to reimport everything into Photos while preserving metadata. My goal is to have a set of OSXPhotos tools that allow you to merge libraries, copy or move assets between libraries, re-build a library etc. See also #1659 for a discussion on some of these topics. |
Beta Was this translation helpful? Give feedback.
The best way to do this is probably to use something like PowerPhotos.
If you want to use OSXPhotos to merge (using the
osxphotos import
command) as @ferid333 suggested, then I would do the following:--export-aae
with theosxphotos export
command. This exports the Apple adjustments data (non-destructive edits to your Photos) needed to reconstruct the edits upon import. If you drag a photo + it's AAE file into Photos, Photos recreates the edit non-destructively (that is so you can still "revert to original").osxphotos import
will also handle the AAE files appropriately.--sidecar xmp
instead of--sidecar json
as the XMP files are more portable and usable by third-party a…