Photo clean-up: iCloud + OneDrive → NAS
Get the photos onto the NAS in one tidy library with no duplicates, free up iCloud so mail works, and stop the problem coming back.
Sign-in & trust
- Let him type his own passwords, sitting with you or over screen share. Apple and Microsoft send a two-factor prompt to his iPhone for each new sign-in anyway.
- Have his iPhone unlocked and nearby for the two-factor prompts.
Step 0 – Get his mail working now
The migration may take days, so free up iCloud space first. Check what's using it:
iPhone: Settings → [his name] → iCloud → Manage Account Storage
Emails that bounced while his storage was full won't come back. He should ask anyone important to resend.
Step 1 – iCloud → NAS with icloudpd
Plan: iCloud has the full-quality originals, so use it as the master copy. OneDrive is mostly copies of the same photos.
icloudpd is a free tool that downloads the whole iCloud photo library. It runs on the NAS in Docker (Synology: Container Manager; QNAP: Container Station), so it works unattended and picks up where it left off if interrupted.
Before starting, on his iPhone
Set up
Fallback: request a full copy at privacy.apple.com. Apple takes a few days to prepare it, then you download it in large zip files.
Step 2 – OneDrive → NAS
Download into a separate folder, e.g. /photos/onedrive. Never mix it with the iCloud download.
- Synology: Cloud Sync → OneDrive, direction Download remote changes only.
- QNAP: HBS 3 (Hybrid Backup Sync) one-way download job.
- Any NAS: rclone in Docker (
rclone copy onedrive:Pictures /photos/onedrive).
Step 3 – Remove duplicates
Many "duplicates" aren't exact copies:
- Live Photos: two files each, a .HEIC photo and a short .MOV video.
- Format pairs: the same photo saved once as HEIC and once as JPG (set by the iPhone's "Transfer to Mac or PC" setting).
- Edits: both the original and the edited version may have uploaded.
Pass 1 – exact copies
Pass 2 – same photo, different file
What's left
Step 4 – Check, then clean up the clouds
Don't delete anything from iCloud or OneDrive until this step is done.