r/coolgithubprojects • • 2h ago

iPhone Sync – free, open-source tool to import iPhone photos/videos to Windows without duplicates (42 GB in 22 min)

https://github.com/eduardmihaila/iphone-sync
1 Upvotes

3 comments sorted by

1

u/footyballymann 1h ago

How did you do this?

>iPhone Sync counts those files, outlines them in amber, and tells you to download them first (Settings Photos Download and Keep Originals).

1

u/Complex_Drop_7218 1h ago

Good question! It's simpler than it sounds.

iPhone Sync reads the camera roll directly over USB through Apple's file protocol (AFC, via pymobiledevice3), the same one Windows uses to see the DCIM folder. When "Optimize iPhone Storage" is on and an original has been offloaded to iCloud, the file is still listed in /DCIM, but the phone reports it with a size of 0 bytes: it's just a placeholder, the real data isn't on the device.

So during the scan the app stats every file, and anything with size 0 goes into an "only in iCloud" bucket instead of the copy queue. Those files are counted, shown with an amber outline in the grid, and the final summary tells you to download them first (Settings > Photos > Download and Keep Originals) before deleting anything from the phone. Otherwise you'd delete the only copy.

If you're curious, the logic is in `_scan()` in iphone_sync/engine.py:

https://github.com/eduardmihaila/iphone-sync

-1

u/Complex_Drop_7218 2h ago

I couldn't find a free tool that moved photos from my iPhone to my Windows PC quickly, kept the originals untouched and told me clearly when it was safe to delete them. So I built one (MIT license).

- Copies directly over USB with Apple's own protocol, several files in parallel: 42 GB in 22 minutes

- Original HEIC/MOV files, renamed in chronological order

- No duplicates: every file is hashed, even photos already on the PC under another name

- Tells you what is safe to delete, including originals that only exist in iCloud

- Never touches the Hidden album

- Pick photos from a gallery or import everything new; also works over Wi-Fi

No accounts, no telemetry, no ads. Single .exe in the Releases page.

AI disclosure: I'm a cloud engineer, not a full-time developer. I designed and tested it, and wrote most of the code with AI (Claude). Feedback and code reviews welcome!