Menu

Exporting an Apple Photos library with its album structure intact
📰

Exporting an Apple Photos library with its album structure intact

DEV Community·Kayabyte·2 days ago
#jQEf6uWG
#dev#library#albums#export#database
Long article (595 words) — no AI summary yet.
Reading 0:00
15s threshold

If you export photos from Apple Photos with File > Export, you get a flat pile of files. The albums are gone. This post explains why, where the library actually lives, and how to get a folder per album out of it.

Why File > Export loses albums

Albums in Photos are not folders. They are lists stored in a database that point at photos. Export writes the photos, not the lists. A photo in three albums is one file, and the information about which albums it was in stays in the database.

Where the library lives

By default it is one package in your Pictures folder:

~/Pictures/Photos Library.photoslibrary

Enter fullscreen mode

Exit fullscreen mode

Right-click it in Finder and choose Show Package Contents. On my Mac the top level has these folders:

database external internal originals private resources scopes

Enter fullscreen mode

Exit fullscreen mode

The originals are in originals/ (in subfolders named by the first character of the file's ID).…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.