4

Is there a way from the CLI on MacOS or Linux to download all the photos from a shared photo album (an album shared with me from another iCloud user, that shows up the shared tab on iOS or under the shared heading on MacOS) in Photos.app? I would like to setup a cron job to sync the photos locally so I can add them to the rest of our backuped data.

  • Quite broad in scope - when you say "album" what are you referring to? iCloud? Photos App? Aperture? When you say "download" are you referring to a photo service (Flickr, Photobucket, etc.)? What exactly are you trying to accomplish? – Allan Mar 30 '17 at 18:53
  • shared photo album: in iOS on the iPhone, in the Photos app, under the Shared tab (the one with cloud icon) albums shard from someone to me. In Photos.app on MacOS, these are listed under the Shared header in the sidebar. download: I just want the photos on disk. – Mike Roberts Mar 30 '17 at 19:10
  • And iCloud and OneDrive don't do what you want? – Allan Mar 30 '17 at 19:35
  • 1
  • 1
    Let’s leave this open but linked to the general case question -apple.stackexchange.com/questions/283630/… some answers there could be CLI, but this needs to be CLI for cron/launchd scheduled tasks to run easily. – bmike Aug 18 at 13:34
1

Take a look at iCloud Photos Downloader it is a command line interface for iCloud Photos based on Python.

To install, you can type pip install icloudpd should the requirement of Python 2.7.x or 3.6.x be met. If you use Python 2.6.x will fail.

If you require Python, I reccomend using Homebrew Package Manager, which is known for being easy to install command line tools. If you’re going to install Python with this method, type brew install python

You can also install Python using the package found on their website.

If you’re looking for more info about the package and command usages / 2 Factor Authentication scenarios, take a look at the Repository’s Readme.

  • Please include the relevant text from the link. Links expire all the time and can leave your answer useless.. – ankii Aug 18 at 11:42
  • It's a GitHub repo with a tool to download iCloud photos from the commandline. I can't copy the manual here, that would violate copyrights. – Jurgen Vinju Aug 18 at 11:47
  • apple.stackexchange.com/a/315308/313842 This is what I commented above. Thanks for the answer tho – ankii Aug 18 at 11:57

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .