icloudpd
介绍:每天定时同步icloud照片下载到本地。
https://github.com/boredazfcuk/docker-icloudpd
docker启动后
-
chmod -R 777 iCloud
,意思是赋予iCloud文件夹最高权限 -
执行
sync-icloud.sh --Initialise
有效期默认为90天,过期之后就会停止同步,这也算苹果的一个安全机制吧。解决办法也很简单,重新过来认证一次即可。
docker-compose配置:
version: "3.8"
services:
icloudpd_user1:
container_name: icloudpd
environment:
# 这里改成自己的appleid,其他不用动
- [email protected]
- TZ=Asia/Shanghai
- download_path=/iCloud
- synchronization_interval=86400
- auto_delete=true
- icloud_china=true
- authentication_type=MFA
- auth_china=true
- folder_structure={:%Y/%m}
image: boredazfcuk/icloudpd:latest
healthcheck:
test: /usr/local/bin/healthcheck.sh
start_period: 30s
restart: always
volumes:
# 配置目录(认证后存cookie用的)
- /vol1/1000/app/data/icloudpd/config:/config
# 要下载照片到哪个目录
- /vol2/1000/Photos/iCloudPhotos/iCloud:/iCloud
参考来源:
https://blog.csdn.net/qq_63499861/article/details/138873669
标签:iCloud,icloudpd,icloud,docker,true,boredazfcuk From: https://www.cnblogs.com/anhaoyang/p/18547074/icloudpd-wqdlc