Export Apple Photos to the Filesystem – Apple Script

I have never really used Apple Script, but recently had the desire to backup all my Apple Photos to my local NAS. I currently have all my photos organized in a Folder -> Album structure so pulled this Apple Script together together to get this done. Create a new Apple Script (*.scpt) and select the source Photos Folder and a location to save the files on your filesystem. Note: Slashes in the name case folders to be created ūüôĀ

tell application "Photos" activate set folderList to name of every folder set selectedFolders to choose from list folderList with prompt "Select folders:" with multiple selections allowed set destination to POSIX path of (choose folder with prompt "Please select a backup location:") repeat with f in folders if selectedFolders contains name of f then my exportFolder(f, destination, name) end if end repeat end tell -- export a folder to a given destination on exportFolder(tFolder, tPath, name) set folderName to tPath & "/" & name log folderName using terms from application "Photos" tell tFolder repeat with childAlbum in albums my exportAlbum(childAlbum, folderName) end repeat repeat with childFolder in folders set name to name of childFolder my exportFolder(childFolder, folderName, name) end repeat end tell end using terms from end exportFolder -- export an album to a given destination on exportAlbum(tAlbum, tPath) set alName to name of tAlbum set albumName to tPath & "/" & alName my makeFolder(albumName) log albumName tell application "Photos" try with timeout of 30 * 60 seconds export (get media items of tAlbum) to (albumName as POSIX file) with using originals end timeout on error tell me to delay 5 activate with timeout of 30 * 60 seconds export (get media items of tAlbum) to (albumName as POSIX file) with using originals end timeout end try end tell end exportAlbum on makeFolder(tPath) do shell script "mkdir -p " & quoted form of tPath end makeFolder read more

DIY – IGUS Slider for Timelapse and Long Exposure Photography

This was a fun project using a Arduino, a sliding rail and belt to pull a sled with a DSLR on it for taking long exposure photography, video or long exposures. This was mounted on a Tripod for some additional stability and flexibility.

Here is the Code: Link

TODO: Photos/Footage

List: Print Projects

YearMonthProjectPhoto
2006DecemberPaul & Kates 2007 CalendarLink
2007Apple Photo Book?
2016Chatbook.com Instagram 1
2020Chatbook.com Instagram 2
2018Rocky Branch Park – Stickers and T-ShirtsLink
2019NovemberRocky Branch Park – Event Flyer
2019Rocky Branch Park – SignageLink
2021Rocky Branch Park – Kiosk MapsLink
2021AugustDonor Form
2021NovemberTrail Preview Day
2022FebruaryHorse Stickers for Ella
2022FebruaryPookie and Bugsy
2022April2022 Goat Island Games – Eagle Race
2022JulyBLMT
2022AugustRace Team Water BottleLink
2022AugustBelmont “Unofficial” Mayor
2022AugustSRAM Battery Label
2022AugustWescor Sweat Analyzer LabelLink
2022SeptemberRace Stickers
2022NovemberCanyon and Flag Stickers for Triathlon Bike
2022NovemberWildcats Volleyball
2022DecemberAwesomeness Race Team Hero CardLink
2023JanuaryAwesomeness Race Team WrapsLink
2023MayGoat Island Games – Adventure Race
2023MayGoat Island Games – Adventure Race Poster
2023AugustIMBA Dig-In Campaign for Rocky Branch Park
2023AugustIMBA Dig-In Campaign for Rocky Branch Park