icloud-photos-downloader/icloud_photos_downloader
关于
用于从 iCloud 下载照片的命令行工具
设计与媒体可以做什么
- Copy - download new photos from iCloud (default mode)
- Sync - download new photos from iCloud and safely remove unchanged, tracked local files whose stable asset IDs 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)
实测星标增长
- 24小时
- +3
- 7天
- +28
- 15天
- +63
- 1个月
- +182
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文!!!! 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
Questions or need help? Ask in the Discord or in Discussions. Bugs and feature requests go to Issues.
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 > [your name] > iCloud > Access iCloud Data on the Web - Advanced Data Protection (ADP): either disable
Settings > [your name] > iCloud > Advanced Data Protectionon your iPhone / iPad, or keep it enabled and run with--adp-web-access(see Authentication)
Install and Run
There are three ways to run icloudpd:
- Download executable for your platform from the GitHub Release and run it (see which file to download; the
icloud-*files are a different tool) - Use package manager to install, update, and, in some cases, run (Docker, PyPI, AUR, npm)
- 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 safely remove unchanged, tracked local
files whose stable asset IDs were removed in iCloud (
--auto-deleteoption) - Move - download new photos from iCloud and delete photos in iCloud (
--keep-icloud-recent-daysoption)
- 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-intervaloption) - Optimizations for incremental runs (
--until-foundand--recentoptions) - Photo metadata (EXIF) updates (
--set-exif-datetimeoption) - ... and many more (use
--helpoption 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, noticloudexecutable
[!TIP] Synchronization logic can be adjusted with command-line parameters. Run
icloudpd --helpto get full list.
To move tracked local copies out of the active mirror when photos leave a shared library (including moves back to a participant's personal library), use a dedicated download directory:
icloudpd --directory /data/shared --username [email protected] \
--library 'SharedSync-YOUR-LIBRARY-ID' --prune-orphans
By default, tracking starts with newly written files and the first successful run
only establishes a baseline. To also clean old orphans in an existing dedicated
flat, original-size mirror, explicitly opt in to the one-time
--prune-orphans-adopt-existing bootstrap and preview it with --dry-run first.
Pruned files are moved into .icloudpd-pruned/, never permanently deleted: even
consistent counts cannot prove Apple's listing is complete. Exclude that folder
from gallery scans. Pruning problems warn without failing downloads. See
the option reference for ownership
requirements, hashing costs and recovery instructions.
To independently create and authorize a session (and complete 2SA/2FA validation if needed) on your local system:
icloudpd --username [email protected] --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.
探索相关项目
加载中…