Import a folder hierarchy as albums into OS X Photos.
Clone or download
codez Merge pull request #18 from derekedelaney/patch-1
Added m4v to the file extension list
Latest commit 4c4c611 Feb 8, 2017
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
ImportPhotoFolders.applescript Added m4v to the file extension list Feb 8, 2017
LICENSE initial commit Oct 25, 2015
README.md initial commit Oct 25, 2015

README.md

Import Photo Folders

Import a directory hierarchy as albums into OS X Photos (El Capitan).

Just download ImportPhotoFolders.applescript, open it in Script Editor and execute it from there. You will be asked to select the directories to import.

Example

Given the following directory structure:

  • Pictures/
    • Mountains/
      • Asia/
        • everest.jpg
        • k2.jpg
      • Europe/
        • matterhorn.jpg
    • People/
      • i.jpg
      • mejenny.jpg
    • whatever.jpg

When selecting the Pictures directory to import, the following structure will be generated in Photos:

  • Pictures/ (folder)
    • Mountains/ (folder)
      • Asia (album)
        • everest.jpg
        • k2.jpg
      • Europe (album)
        • matterhorn.jpg
    • People (album)
      • i.jpg
      • mejenny.jpg
    • Pictures (album)
      • whatever.jpg