Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
I

icloud_photos_downloader

> 编程语言
Open source

A command-line tool to download photos from iCloud

12.1K stars0 likes2 views
WebsiteGitHub

About

A command-line tool to download photos from iCloud

!!!! Looking for MAINTAINER for this project !!!!

iCloud Photos Downloader

  • A command-line tool to download all your iCloud photos.
  • Works on Linux, Windows, and macOS; laptop, desktop, and NAS
  • Available as an executable for direct downloading and through package managers/ecosystems (Docker, PyPI, AUR, npm)
  • Developed and maintained by volunteers (we are always looking for help).

See Documentation for more details. Also, check Issues

We aim to release new versions once a week (Friday), if there is something worth delivering.

iCloud Prerequisites

To make iCloud Photo Downloader work, ensure the iCloud account is configured with the following settings, otherwise Apple Servers will return an ACCESS_DENIED error:

  • Enable Access iCloud Data on the Web: On your iPhone / iPad, enable Settings > Apple ID > iCloud > Access iCloud Data on the Web
  • Disable Advanced Data Protection: On your iPhone /iPad disable Settings > Apple ID > iCloud > Advanced Data Protection

Install and Run

There are three ways to run icloudpd:

  1. Download executable for your platform from the GitHub Release and run it
  2. Use package manager to install, update, and, in some cases, run (Docker, PyPI, AUR, npm)
  3. Build and run from the source

See Documentation for more details

Features

  • Three modes of operation:
    • Copy - download new photos from iCloud (default mode)
    • Sync - download new photos from iCloud and delete local files that were removed in iCloud (--auto-delete option)
    • Move - download new photos from iCloud and delete photos in iCloud (--keep-icloud-recent-days option)
  • Support for Live Photos (image and video as separate files) and RAW images (including RAW+JPEG)
  • Automatic de-duplication of photos with the same name
  • One time download and an option to monitor for iCloud changes continuously (--watch-with-interval option)
  • Optimizations for incremental runs (--until-found and --recent options)
  • Photo metadata (EXIF) updates (--set-exif-datetime option)
  • ... and many more (use --help option to get full list)

Experimental Mode

Some changes are added to the experimental mode before they graduate into the main package. Details

Usage

To keep your iCloud photo collection synchronized to your local system:

icloudpd --directory /data --username [email protected] --watch-with-interval 3600

[!IMPORTANT] It is icloudpd, not icloud executable

[!TIP] Synchronization logic can be adjusted with command-line parameters. Run icloudpd --help to get full list.

To independently create and authorize a session (and complete 2SA/2FA validation if needed) on your local system:

icloudpd --username [email protected] --password my_password --auth-only

[!TIP] This feature can also be used to check and verify that the session is still authenticated.

Contributing

Want to contribute to iCloud Photos Downloader? Awesome! Check out the contributing guidelines to get involved.

Issues· 180 open

View all issuesOpen on GitHub
  • #1366

    2fa not working again?

    bugUpdated Sep 28, 2026
  • #1063

    zlib.error: Error -3 while decompressing data: invalid stored block lengths

    bugUpdated Sep 26, 2026
  • #1379

    Add a "Tombstone" / Permanent Skip mechanism for locally deleted files

    enhancementUpdated Sep 25, 2026
  • #1363

    Unhandled KeyError: 'dsInfo' in requires_2fa when session cookie is invalidated (HTTP 421)

    Updated Sep 19, 2026
  • #1376

    Error Code:Gone(410)

    bugUpdated Sep 12, 2026
  • #1255

    Apple iCloud is temporary refusing to serve icloudpd

    bugUpdated Sep 9, 2026
  • #511

    Downloading Deleted Files... only to delete them?

    bugUpdated Aug 30, 2026
  • #1256

    Apple icloud.com.cn 503 Service Temporarily Unavailable issue and temporary fix solution

    Updated Aug 30, 2026
  • #1355

    `--xmp-sidecar` + `--only-print-filenames` crashes with FileNotFoundError

    Updated Aug 28, 2026
  • #1370

    --skip-created-before + --skip-created-after together silently downloads 0 files

    Updated Aug 28, 2026

> Tags

Python

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 28, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言