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

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.

Step 3 – Remove duplicates

Many "duplicates" aren't exact copies:

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.

Going forward

Before you leave