Copy photos out of Photos App into Lightroom
This is a simple way to get your iCloud Photos / photostream photos out of the Photos app and into Lightroom. Photos get synced from your phone into your Photos library automatically, and this script periodically copies them out into an "import" folder where Lightroom's auto import feature can take over.
To install, copy
copy-out-photos to point to where your Photos library is and where your Lightroom import folder is. Then run these commands:
chmod a+x ~/bin/copy-out-photos launchctl load ~/Library/LaunchAgents/net.benhollis.CopyPhotos.plist