Replies: 4 comments 66 replies
-
The
Yes. Type If your photos are organized in a set of folders but you want to exclude one or more parent folders from the
and you want to exclude /Volumes/Photos from the folder/album path, you can do this: osxphotos import /Volumes/Photos/* --walk --album "{filepath.parent}" --relative-to "/Volumes/Photos" This will produce folders/albums 2021/Family, 2021/Travel, and so on.
Yes, with exception of persons/faces.
Sounds like you did it right. The only option I might have done differently is to use I think that with the options above, you should be able to recreate the album. Note however that this isn't really the intended use case for
I am working on some new code that will enable me to implement an |
Beta Was this translation helpful? Give feedback.
-
Hey osxphotos user community! Recreating Library 100K referenced filesPiggy/backing on this thread I'm now considering recreating the 100K pics Library (coming from the iPhoto times and referenced photos/videos) to avoid/improve some current issues
BIG question: should I go
|
Beta Was this translation helpful? Give feedback.
-
Doing some tests.
osxphotos/osxphotos/cli/import_cli.py Line 1366 in b258ad7 osxphotos/osxphotos/cli/import_cli.py Line 1554 in b258ad7
last_export_dir = export_db_get_last_export_dir(exportdb_path)
if not pathlib.Path(exportdb_path).is_file():
exportdb_path = find_export_db_for_filepath(exportdb_path)``` osxphotos/osxphotos/export_db_utils.py Line 619 in b258ad7 Will continue testing tomorrow ;) |
Beta Was this translation helpful? Give feedback.
-
The new import functionality is now included in release v0.68.0. With the exception of persons/faces it is now possible to accurately re-create a Photos library from an OSXPhotos export while preserving edits, live images, burst images etc. |
Beta Was this translation helpful? Give feedback.
-
My Photos library seems to have something wrong with it which neither the Photos.app itself nor the commercial PowerPhotos seems to be able to resolve. In general, it never finishes detecting faces after months of being left alone and even the photos I added a few weeks back still don't have face circles around them. Looking at the console I think things get stuck or daemons crash, but it might be things as stupid as the photoanalysisd trips on an AVI codec from 23 years ago that isn't recognized by the Mac.
So that has led me to doing a rebuild of my Photos library: export everything, take ancient videos and freshen them with HandBrakeCLI, convert some BMPs which are in there. I've exported the whole lot with osxphotos sorting the output with year/month/albumname and enabled --exiftools. Great, everything is out and I ran a script of mine that did the video upgrades and preserves the EXIF metadata, timestamps, etc.
So now that I have it all cleaned up, I'm looking to import into a newly created Photos.app database.
My questions:
If things like getting items into the right albums need to be scripted by me (e.g. find directory names that are not '_'), that's doable. However, if anyone else has used this software to do a minimal-loss rebuild, I'd be happy to hear!
Thanks
Beta Was this translation helpful? Give feedback.
All reactions