Import a folder hierarchy as albums into OS X Photos.
Import a directory hierarchy as albums into OS X Photos (El Capitan).
ImportPhotoFolders.applescript, open it in Script Editor and execute it from there. You will be asked to select the directories to import.
Given the following directory structure:
When selecting the
Picturesdirectory to import, the following structure will be generated in Photos: