frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Was Philip K. Dick a Madman or a Mystic? (2016)

https://www.publishersweekly.com/pw/by-topic/industry-news/tip-sheet/article/70857-was-philip-k-d...
1•debo_•28s ago•0 comments

React Router has XSS Vulnerability · CVE-2025-59057

https://github.com/advisories/GHSA-3cgp-3xvw-98x8
1•maxloh•2m ago•0 comments

JEP Draft: Java Thread Sanitizer

https://openjdk.org/jeps/8208520
1•mooreds•5m ago•0 comments

Diagnosing performance with dotnet-trace and Perfetto

https://dfamonteiro.com/posts/using-dotnet-trace-with-perfetto/
1•lalitmaganti•6m ago•0 comments

High RAM prices mean record-setting profits for Samsung and other memory makers

https://arstechnica.com/gadgets/2026/01/high-ram-prices-mean-record-setting-profits-for-samsung-a...
2•walterbell•6m ago•0 comments

DC-input: interactively fill dataclass instances via the command line

https://github.com/jdvanwijk/dc-input
1•janebelvanwijk•8m ago•0 comments

Ask HN: Cursor (LLM) Costs

1•anonyfox•8m ago•1 comments

Turntiles, an NYT style word game I made for my parents

https://github.com/wheybags/turntiles
1•todsacerdoti•10m ago•0 comments

New tech and tools for retailers to succeed in an agentic shopping era

https://blog.google/products/ads-commerce/agentic-commerce-ai-tools-protocol-retailers-platforms/
1•AznHisoka•10m ago•0 comments

Key Chinese Money Laundering Network Member Charged W Laundering Drug Proceeds

https://www.justice.gov/opa/pr/key-member-chinese-money-laundering-network-charged-laundering-ten...
3•737min•14m ago•0 comments

Fifty People Control the Culture

https://www.honest-broker.com/p/fifty-people-control-the-culture
2•Khaine•15m ago•0 comments

Ask HN: Cheaper Datadog Anyone?

2•kvaranasi_•17m ago•2 comments

When XLA Isn't Enough: From Pallas to VLIW with Splash Attention on TPU

https://patricktoulme.substack.com/p/when-xla-isnt-enough-from-pallas
1•patrick_toulme•18m ago•0 comments

Show HN: Voice Composer – Browser-based pitch detection to MIDI/strudel/tidal

https://dioptre.github.io/tidal/
1•dioptre•18m ago•0 comments

America's most novel train project is too deadly

https://www.economist.com/united-states/2026/01/08/americas-most-novel-train-project-is-too-deadly
2•yakkomajuri•18m ago•0 comments

There Is No Budget for Books

https://jonpauluritis.com/articles/no-budget-for-books/
1•jppope•19m ago•0 comments

WUTA WRENs

https://en.wikipedia.org/wiki/Western_Approaches_Tactical_Unit
1•CHB0403085482•20m ago•0 comments

Situation Monitor

https://hipcityreg.github.io/situation-monitor/
1•mellosouls•25m ago•0 comments

DOJ sues California cities over natural gas bans

https://www.justice.gov/opa/pr/justice-department-sues-california-cities-over-natural-gas-bans
4•737min•26m ago•0 comments

Show HN: Ma'at – Court-defensible jury analysis platform (open source)

https://github.com/Jennaleighwilder/MA-AT
1•jennaleighwest•29m ago•0 comments

Show HN: I built Sonars in 3 weeks to see if AI coding is useful for my company

https://sonars.dev
1•JasperBekkers•31m ago•0 comments

I Built a 1 Petabyte Server from Scratch [video]

https://www.youtube.com/watch?v=vVI7atoAeoo
1•guiambros•34m ago•0 comments

Local Food for the Hudson Valley

https://www.communityfoodworks.org
1•mooreds•38m ago•0 comments

True Scale of Solar System

2•Sarakuzoi•41m ago•0 comments

Asahi Linux – Porting Linux to Apple Silicon [video]

https://media.ccc.de/v/39c3-asahi-linux-porting-linux-to-apple-silicon
2•tensegrist•43m ago•1 comments

An open spec for cryptographic API authentication

https://github.com/atf-open-standard/atf-specification
1•nagabandaru•45m ago•1 comments

Remote Code Execution in OpenCode, update now

https://cy.md/opencode-rce/
6•CyberShadow•51m ago•1 comments

Google introduces personalised shopping ads to AI tools

https://www.ft.com/content/957c7438-b2e0-4605-a276-caa8a7ec363c
2•sebastian_z•53m ago•0 comments

Show HN: Turntiles, an NYT style game I made for my parents

https://wheybags.com/turntiles/
2•wheybags•1h ago•0 comments

I'd tell you a UDP joke…

https://www.codepuns.com/post/805294580859879424/i-would-tell-you-a-udp-joke-but-you-might-not-get
40•redmattred•1h ago•9 comments
Open in hackernews

iCloud Photos Downloader

https://github.com/icloud-photos-downloader/icloud_photos_downloader
243•reconnecting•4h ago

Comments

reconnecting•3h ago
Surprisingly, there is no official way to download all (400 Gb) photos from iCloud. Here is an open-source command-line tool to download all your iCloud photos.
cdrnsf•3h ago
I'm not sure it's surprising. Apple doesn't want you to leave and making something as important as your photos difficult to move helps with that.
lostlogin•2h ago
What’s missing?

The files are there on the Mac, they are there to download on the cloud (various mentions of method mentioned here).

reconnecting•1h ago
There is NO button on Mac to download photos from iCloud. You can only do this from your phone and then synchronise them to your Mac.
raw_anon_1111•1h ago
You can use the Photos app on your Mac and download originals
mr_toad•1h ago
There are two options in the file menu - you can export the originals, and there is an option to export them as .jpg.
reconnecting•1h ago
From iPhotos (Photos) app to hard drive.

Subject is to download photos from iCloud.

coder543•1h ago
Yes, there is a button on Mac: https://support.apple.com/guide/photos/use-icloud-photos-pht...

As long as you are signed into the Mac with the same iCloud account used on the iPhone, this will download them all. No, you do not need to get them all downloaded to the iPhone ever for any reason for this to work. Period. You need to stop repeating that, because it is wrong. How many people have to say the same thing?

Yes, you will have to go into a hidden folder to access the Originals once they're downloaded if you want to copy them somewhere else, but it's like two clicks.

reconnecting•1h ago
I've been using Mac since Mac OS X 10.4 (~2005) and was under the same impression.

However, in reality, when you use the same Apple account on both devices with the Photos app on macOS (yes, with the 'Download Originals' checkbox enabled), it only downloads photos that you upload from your phone.

And if you look at the iCloud tab in the Photos app, it says 'Automatically _upload_ and store all your photos and videos in iCloud', so it works from Mac to iCloud, and doesn't help to download full iCloud library.

coder543•1h ago
No, you are not correct. How many people have to tell you this?

It absolutely works the way I said it does, because I have seen it work that way. Just because you accidentally turned off iCloud Photos in your Apple Account settings on that Mac (or some other similar issue) does not mean it does not work this way when properly signed in.

If you want something to try, go to System Settings -> Apple Account -> Photos and see if "Sync this mac" is turned off. It needs to be on. There could be other ways that this feature is disabled, but that is one of them.

Not seeing something work is not evidence that it does not work. You have not seen it work, but that is not proof it does not work.

Seeing it work is evidence that it works. I have seen it work.

Other people have seen it work that way, and their replies are all over this thread. Apple documents that it works this way.

Yes, it will upload photos to iCloud if enabled, but it also downloads them.

reconnecting•46m ago
This is how iCloud works. When you take a new photo, it synchronises with all your devices, and therefore you see it on your Mac, iPhone, etc. However, if you get a new Mac (I got one because my library was under capacity), Photos will not start synchronising your 10-year-old photos until you process them through the phone.

I hope I've made it clear now.

And there is no such button to download all previous photos anywhere in macOS, just as there is no progress indicator for synchronising these photos, check the manual.

coder543•44m ago
Your point has been clear the whole time. It is still not correct.
lostlogin•1h ago
One of us is missing something. In Photos.app I clicked download originals. The photos are there on my Mac. It’s bit gross to get at them though - right click on app > show package contents.

Are you wanting a way that doesn’t involve the photos app?

You can do that from iCloud over a browser.

reconnecting•1h ago
If you open the Photos app (macOS) connected to iCloud with an empty library, there will be no photos until you import them from your phone. Hope this is clear now.

iCloud via browser has a limit of 1k photos per download.

wookmaster•54m ago
Select all, Files > Export. It's simple to download iCloud Photos.
Tempest1981•2h ago
From 2024:

> Users of Google and Apple’s photo cloud services can now transfer images between them. It was already possible to export photos and videos from iCloud to Google Photos, but now it can also be done the other way around: from Google Photos to iCloud.

https://www.techzine.eu/news/applications/122196/google-and-... (2023 Data Transfer Initiative (DTI))

kccqzy•3h ago
That’s not true. On any Mac or iPhone you can choose the iCloud Photo Library storage option to download all instead of letting the system optimize the storage. And if you turn off iCloud Photo Library, it will also try to download it all. I know this because I stopped using iCloud Photo Library and that was how I got all my photos downloaded.
hu3•3h ago
that's good to know. can I then download the photos from iPhone to a backup hard-drive or transfer to a folder in my computer?
hackpelican•3h ago
Yes over USB 2.0 until recently.
possiblerobot•3h ago
+1 to this method. After optimise storage is disabled on the Mac, wait for all photos to download. Then, open the photos library bundle and you'll see every photo there, full res. Copy them wherever you like.

Also, if you leave optimise storage disabled and continue to use Photos, every photo will be cloned in any local or cloud backups of your machine. This strategy creates additional photo redundancy separate from iCloud while still benefiting from library syncing.

lostlogin•2h ago
This was my strategy too, but with a disgusting script which quit photos.app, rsync the photo library to a network share, then reopened photos.app so that it kept downloading from iCloud.

Not sure if the open/close is required, but I didn’t want to find out.

lencastre•2h ago
I don’t fully trust iCloud Drive / Photos therefore I use FSViewer to download all photos from my iOS device du jour (making sure to keep the HEIF formats), this way I get the Edited (slo-mo, live, portrait, usw) and pristine versions as Jobs intended. All kidding aside, after the gray area gate of 2017-2021 I had to find a more reliable backup workflow. As of today I only use iCloud Drive / Photos to extract some RAW photos that for some reason some picky apps don’t save to the photo album (looking at you ProCam 8.0). I made several tests including hash comparisons and imagemagick diffs and I am quite pleased.
mbirth•2h ago
Or use the great osxphotos tool that works with Apple Photo’s SQLite database to let you manage all the photos in your library.

https://github.com/RhetTbull/osxphotos

Barbing•1h ago
Demo .gif sold me

(Been meaning to make a software demo gif gallery, best way to understand many categories of apps)

reconnecting•2h ago
Someone gave me a new iPhone (120GB) and a new MacBook Pro and asked me to download all their photos from iCloud. Long story short, after 120GB of photos were synchronised to the iPhone, the MacBook Pro refused to copy them, and now there's no storage left on the iPhone.

Also, Photos on Mac doesn't have an option to download photos directly, so the only valid option Apple offers is to download them through the web interface (max 1,000 at a time).

There is no official way to download iCloud library that is over phone capacity. Period.

fizwidget•2h ago
That doesn’t sound right. My photo library is larger than my iPhone’s storage yet downloads fine on my Mac. Just need to make sure “optimise storage” is enabled on the iPhone and disabled on the Mac.

Once everything’s downloaded on the Mac, you can either export through the Apple Photos menu or just copy the “originals” directly from the Photos bundle.

fakedang•2h ago
And people say Linux is hard to work with....
reconnecting•1h ago
This works because you had synchronised your iPhone with your Mac previously. If you start with an empty Photos library and phone, it is impossible to put all the photos on the phone and thus transfer them to your Mac.
js2•1h ago
> Photos on Mac doesn't have an option to download photos directly

Yes it does. It's called Download Originals to this Mac.

https://support.apple.com/guide/photos/use-icloud-photos-pht...

You keep asserting to the contrary, but I've been syncing my entire photos library to my Mac for years, since it was iPhoto even.

Obviously if you have a larger photos library than storage space on a particular device, you cannot synchronize the entire library to that specific device. e.g. my photos library vastly exceeds my iPhone 13 mini storage, so on my iPhone, I don't sync everything. But my Mac has 2 TB of storage, and Photos is setup to sync all my photos, and does so, reliably, and has been, again, for years now.

Additionally, unlike with this open source tool, I can keep advanced data protection enabled.

reconnecting•51m ago
This is from the iCloud manual:

> Any new photos and videos you add to Photos appear on all your devices that have iCloud Photos turned on.

You have your photos because they are new. If they had been taken before, they would not have synchronised automatically with Photos on MacOS.

coder543•48m ago
Please stop repeating your incorrect points that are contradicted by everyone else’s real experiences.

Yes, new ones will be uploaded. That doesn’t mean old ones won’t also be downloaded.

reconnecting•33m ago
I have tried 3 different Macs with different versions of macOS prior to looking for a workaround, and everywhere the result is the same: old photos are not downloaded automatically from iCloud, and there is no button to start this process - for this exact reason.

Want to prove me wrong? Create a new macOS user and open Photos with your iCloud. It will be empty until you start copying photos from your phone. It will take much less time than arguing here.

coder543•30m ago
You're arguing with a lot of people who have personally seen this work. You can listen to other people. You can also go to an Apple Store and let them show you what's going wrong here.
reconnecting•7m ago
Perhaps no one has really tried to download an entire iCloud library at once, or perhaps size is an issue, but that doesn't change the fact that there is no download button in the Photos UI and iCloud Photos Downloader simply solves this. That's what this post is about.
Nextgrid•3h ago
Thanks to Apple's exceptional software quality the app has plenty of bugs and good luck exporting a lot of files out of said library - you're in for an endless game of spinners (it does some network IO on the main thread), "not responding" and memory leaks.

But hey at least we've got Liquid (gl)ass now.

CharlesW•2h ago
> Thanks to Apple's exceptional software quality the app has plenty of bugs…

I use Photos for macOS daily and I've never run into a bug with my 50K+ photos library. (To be fair, Photos doesn't do that much, and I use it more as a master catalog with Aperture's spiritual successor Nitro.)

> …and good luck exporting a lot of files out of said library…

Not sure why you would need luck to copy the "Originals" folder from the library package.

wookmaster•2h ago
Worked well for me for 70k photos but took a long time
reconnecting•2h ago
Okay, and if there are 300 or 500 GB of photos, how do you synchronise them with your iPhone?
nemothekid•3h ago
I think if you are on PC. But on Mac with the Photos App

Cmd+A > File > Export Unmodified Originals

reconnecting•1h ago
There is no straight way to download photos from iCloud to Mac.
wookmaster•54m ago
The comment you're replying to just gave one, I did it recently for 70k photos. select all > export. That's it. It just took 30 hours.
reddalo•3h ago
Technically, there is: users of the European Union can get a full export of all data that Apple has about them, including all the stored photos. It can be requested from here: https://privacy.apple.com/
catskull•3h ago
I was able to request a photo dump as a non-EU customer using this link.
ireadmevs•2h ago
How does the archive they provide look like? Many zip files? I would like to retrieve them and offload to another storage service but I don’t have local storage enough to hold all of it at the same time, unpack and then reupload. I would need to do it in stages.
lostlogin•2h ago
While that’s a pain for you, it’s also a pain if they have multiple files for those that have enough storage.

Photo management is a bit of a nightmare as it’s an awful lot of small(ish) files.

Tempest1981•2h ago
Yes, many ZIP files. You can select the ZIP file sizes, from 1 to 25 GB, iirc. Although a few end up larger than 25 for some reason. And took 1-2 days for Apple to "prepare".
reconnecting•1h ago
It sounds really weird that instead of making a separate utility, or allowing you to download iCloud Photos in the native Photos application on Mac, Apple requires you to go through a legal procedure.

I'm OK with clicking a button to download all photos to Mac, but there is no such button. Or maybe there was one previously, but it has now disappeared.

einsteinx2•45m ago
> or allowing you to download iCloud Photos in the native Photos application on Mac

Here’s the official documentation page for exporting directly using Photos for Mac without syncing everything locally: https://support.apple.com/guide/photos/download-photos-to-yo...

You can also choose to sync all photos locally with Photos for Mac by setting “Download Originals to this Mac” as described on this page which is what I do to keep a local copy: https://support.apple.com/guide/photos/photos-settings-pht51...

If your Mac doesn’t have enough space, export them to a USB hard drive or if you’re using the download originals option, first move your library location to the USB drive as also described on the link above.

reconnecting•43s ago
Thank you.

Indeed, that was exactly what I thought, but for some reason I don't understand, this approach doesn't work for me on a new (empty) Photos library on MacOS. Luckily, there is this open-source iCloud Photos Downloader, and also, someone provided a way to request Apple to provide all iCloud data for download.

SchemaLoad•45m ago
Doesn't work if you have Advanced Data Protection (end to end encryption) enabled.
nashashmi•3h ago
Vulnerability hijack incoming with the headline calling for another maintainer
tra3•3h ago
Does anyone know if there’s a way to self host/impersonate iCloud? I’d like to back my iPhone up locally.
yrcyrc•3h ago
For pictures you can use https://immich.app/
idorosen•3h ago
https://github.com/libimobiledevice/ifuse might help.
nntwozz•3h ago
You can do manual backups in macOS using Finder, or iTunes on Windows.
Tepix•1h ago
There's also a Program called "Apple devices" I believe from Apple for Windows that will let you backup your iPhone/iPad.

If you configure a password for your backup it will backup more (confidential) data than if you don't encrypt your local backup.

dwayne_dibley•3h ago
Immich is probably the best option
mfkp•3h ago
Or ente photos: https://ente.io/
netsharc•3h ago
I'm sure grandparent meant to modify it so they'd just have to click "Backup to cloud" on their iPhone and instead of the iPhone sending their files to Apple's servers, it sends them to a local backup server...
cortesoft•2h ago
Immich can get pretty close to that experience, with the iPhone app and a local immich instance.
ValentineC•1h ago
A lot of iPhone apps can backup the iOS photo library these days, including the abovementioned Immich, Google Photos, and Dropbox.
caminanteblanco•3h ago
I mean can't you go to privacy.apple.com, ask for an archive of your data, and then they'll email you the link to a zip file in a week or two? I'm pretty sure this is what my girlfriend did when she transitioned from an iPhone to a Pixel. I think there's even a specific checkbox for photos/videos
catskull•3h ago
Thanks! I’ve been looking at options for this and didn’t realize Apple had an official method. Just submitted a request, we’ll see how it goes.
mmh0000•3h ago
Yes... Let me ask my corporate overload and wait 2 weeks for permission to download my family photos.
ericj5•3h ago
Wow, I will definitely give this a try. I have tens of thousands of photos in iCloud and I literally can’t export them all at once. Photos app chokes and crashes and manually babysitting smaller batches is a pain. It’s pretty clear they want to make it as hard as possible
CSDude•3h ago
All my vertical videos in iCloud show up cropped horizontal for some reason. If I go to edit I see the whole video. I really do not want to trust any cloud provider to maintain my years of archives of family photos and videos. Glad things like this exist. I just need properly date-foldered files, without no duplciates. Is that so hard?
Angostura•3h ago
Sounds like the contact sheet view is just using square preview thumbails?
1love1heart•3h ago
There is something similar to Google Takeout for Apple Photos. Recently used it to download thousands of photos.
Dachande663•3h ago
I’ve been using this for several years now on a little unraid box to download new photos nightly. There’s a few docker containers that wrap in support for notifying when 2FA is required etc. Always makes me nervous, the access it has, but I’d rather have my photos backed up somewhere I own.
axpy906•3h ago
This great. I want to switch to android but the only thing stopping me is eight years of photos. No more.
wrxd•2h ago
If your end goal is to move the photos to Google photos have a look at https://support.google.com/photos/answer/10502587?sjid=13067...
neilalexander•2h ago
You can go to https://privacy.apple.com, log in with your Apple ID, select "Request to transfer a copy of your data" and then select "iCloud photos and videos to Google Photos".
punnerud•3h ago
You know you only need to do a GDPR request to Apple (dedicated page), select images and you get a download link after a few hours
thierryzoller•3h ago
For those in the EU only ?
punnerud•2h ago
Believe it work for everyone? I am located in Oslo/Norway, so can’t check if it does not apply everywhere.

Only need to go to this page to do the request https://privacy.apple.com/

mmh0000•3h ago
I run this periodically from a little shell script; I "should" automate it, but time is scarce.

  ⟩ cat ~/bin/icloud_download
  #!/bin/bash
  mkdir "$(pwd)"/{photos,cookies} 2> /dev/null
  
  if [[ -z "${ICLOUD_USERNAME}" ]]; then
      echo "need env ICLOUD_USERNAME"
      exit 1
  fi
  if [[ -z "${ICLOUD_PASSWORD}" ]]; then
      echo "need env ICLOUD_PASSWORD"
      exit 1
  fi
  
  podman container run -it --rm --name icloud \
      -v $(pwd)/photos:/data \
      -v $(pwd)/cookies:/cookies \
      -e TZ=America/Boise \
      icloudpd/icloudpd:latest \
      icloudpd --directory /data \
      --cookie-directory /cookies \
      --folder-structure {:%Y/%Y-%m-%d} \
      --username "${ICLOUD_USERNAME}" \
      --password "${ICLOUD_PASSWORD}" \
      --size original
koolba•2h ago
> icloudpd/icloudpd:latest

Passing your raw iCloud creds into the unverified latest tag is fine until it’s not. Better to pin to a specific tag or hash.

mmh0000•2h ago
You're not wrong. I know I need to put more work into it. Just haven't had time.

I'm "protected" by the fact Podman doesn't automatically update the latest image even when using the latest tag.

I was more showing how simple icloudpd is to use.

ccakes•2h ago
Seems to be looking for a new maintainer. If anyone has the bandwidth, it’s a great piece of software
jeanofthedead•2h ago
I'm a big fan of Parachute Backup for this purpose. https://parachuteapps.com/parachute
monocularvision•1h ago
Do you know if this supports multiple users? Can’t find mention of it in the site.
rgovostes•2h ago
My concern with backing up iCloud Photos with anything but Apple Photos is that there are some proprietary formats like Live Photos and slow mo video for which exports are lossy. Also, Apple Photos stores all edits non-destructively, so 'flattening' the edits into a single file for export is also a lossy operation.

It seems like an obvious improvement for Time Machine to support full backups while using optimized storage on the primary system.

lostlogin•2h ago
Could the first obvious improvement please be its speed? My god. The local Time Machine backup is slower on a 10gb network than Backblaze over the Internet. It isn’t even close.
dangus•2h ago
Asking for anything out of Time Machine is a lost cause. It’s essentially a completed and legacy product.

I migrated to Linux + Pika Backup. For photos I use Ente Photos with their managed cloud storage plus a continuous export to my NAS.

Ente is surprisingly well integrated with iOS, you really don’t need to use Apple’s solution. It automatically backs up photos I take in the background.

varenc•2h ago
I backup ~3-4GB a day with Time Machine to my local NAS and it takes less 10 minutes. Albeit it should take 30 seconds if it was maxing out the network speed.
lostlogin•2h ago
I’ve done the sudo sysctl debug.lowpri_throttle_enabled=0. But it’s still slow.

10 minutes is great, and my changes wouldn’t seem as extensive as yours. I need to dig deeper.

rgovostes•2h ago
I reinstalled my system and attempted for weeks to get Time Machine to complete a first backup. Every time I started it, the progress bar would fill up about 60% and then stall, and eventually kernel panic if the system was left idle for hours. Never happened before I reinstalled, though I have had it randomly decide the backup is corrupt and it has to start over. macOS deserves a better first-party backup feature.
lostlogin•2h ago
> I have had it randomly decide the backup is corrupt and it has to start over.

I have hit this too many times.

dangus•2h ago
In my experience migrating to another provider from iCloud, this hasn’t been a significant issue. Live Photos in particular are not really proprietary in the sense that they’re implemented in an extremely simple way that basically every photo tool understands. ~~Slow motion videos are also not proprietary, they’re just a plain video file.~~ <<< edit: I think I’m wrong about slow motion
rgovostes•2h ago
> Slow motion videos are also not proprietary, they’re just a plain video file.

I haven't looked into the implementation details, but Photos lets you adjust the section of the video that is played back in slow motion. I thought if you share a slow-mo video, it gets re-encoded to bake this in (i.e., one second at 240fps gets exported as four seconds at 60fps).

fn-mote•2h ago
How about just turning off optimized storage and letting Time Machine do its job?
rgovostes•2h ago
I have a 1.2T photo library. Carrying that around on my MacBook requires an $800 upgrade to the SSD.

Time Machine's job is to back up my data, it's not strictly to make a 1:1 copy of local storage. It should back up my cloud data too.

mrexroad•1h ago
My library is large too (roughly a third larger). After years of far more complicated storage/backup solutions, I settled w/ a second Photos library on an external hdd w/ optimize storage disabled. I plug the drive in and open this library every so often to update and then duplicate the drive for an off-site copy. Day to day, I use a Photos library on my primary drive with optimize storage enabled.

I’ve found unreasonable value in being able to search through hundreds of thousands of photos from my phone, so I went all-in on Photos.app. Though one enabling factor is that my photography workflow has drastic simplified in recent years to doing very little post (except for astrophotography, which I try and keep wip out of Photos.app anyway).

SchemaLoad•41m ago
The most annoying thing for me is if you set the date for a photo, it gets stored externally rather than modifying the photo metadata. So when you switch platform, every photo which didn't originally have a captured at date ends up reset to the current day every time you move.

For edits, I don't care too much about just baking them in since it's unlikely I'm going back to old photos and want to undo the crop.

kimos•10m ago
I’ve used this tool for years and it’s great. But it really saves just the raw data. You’d never get it back in to Apple Photos as nice as when you pulled it out. Metadata is missing. Live Photos come out as an image and a similarly named video. But I treat it as the emergency backup. If some Apple DC burns down or they ban my Apple ID for some reason, at least the photos still exist.
SilverElfin•2h ago
Thanks. I cannot get iCloud sync to work at all. It consumes CPU, asks for logins repeatedly, etc but fails to actually do its job. When I think of its bugs and all the issues with the latest iOS (bugs and performance on recent hardware), I am thinking of exiting the Apple ecosystem entirely.
hannob•2h ago
You need an extra tool to download your own photos? That's... not a basic feature?

I'm always surprised what kind of antifeatures people in Apple land are willing to accept and still use those things...

cg5280•2h ago
You absolutely can download your photos, just not via command line like this project enables.
geekamongus•2h ago
You do not need an extra tool to download your photos. This one runs from the command line, though.
CharlesW•2h ago
As is pointed out elsewhere in the thread, there are at three official ways to download your own photos. This complements those.
Razele•2h ago
why not use rclone
porjo•2h ago
Because icloudpd supports downloading photos from icloud and rclone does not (yet): https://github.com/rclone/rclone/pull/8734
rsync•1h ago
"why not use rclone (?)"

This is the correct - and obvious - response to something like this.

Unfortunately, I believe that rclone has no support for iCloud photos at this time.

rcarmo•2h ago
I created this over the holiday break to do mostly the same:

https://github.com/rcarmo/PhotosExport

...when you try to export files using the (restricted) APIs we get, it automatically triggers a download.

porjo•2h ago
I use this to sync my wife's photos to Immich and it works great, however the auth process is a bit of a pain (not the fault of icloudpd) and have to reauth every few months.
kimos•9m ago
It is a pain.

I’ve wrapped it in some short scripts which notifies on auth failure and it’s an easy process to run the auth script. But there’s no way to avoid the bi-monthly inconvenience I don’t think.

shireboy•2h ago
I was just thinking about this today. Apples lack of any 3rd party integration for things like this and iMessage is really annoying sometimes. In addition to a secondary backup, I’d love to automatically sync some photos from a certain album to my parents photo frame. Or if I take a nice nature shot have it sync to a Samsung frame tv. I get the benefits of the walled garden but esp w photos and messaging it seems like opening up a little would allow for some innovation
jackvalentine•19m ago
I use PhotoSync on my phone for this - select which albums to sync where with a rule and away you go.
DHPersonal•2h ago
Parachute Backup is a tool I use: https://parachuteapps.com/parachute
ndegruchy•2h ago
While not free, and not for any other platform than macOS. The program Parachute[1] in the App Store is very nice in downloading both photos from your library as well as files from the various locations.

[1]: https://apps.apple.com/us/app/parachute-backup/id6748614170?...

SilverElfin•2h ago
Is there a way to verify this all is safe to use? Like it won’t do something weird privacy wise? Any equivalent for windows?
reconnecting•1h ago
I have the same paranoia, so I was happy to learn that someone made an open-source downloader for iCloud.
malshe•1h ago
Thanks for the link
teamspirit•1h ago
Anyone know if it works with ADP? I emailed them months ago but no one ever replied.

On a related question, is there a download solution that does work with ADP? I’m looking to mitigate any potential account lockout issues for family members (and, no, they will not switch out of the ecosystem).

arcanemachiner•1h ago
Advanced Data Protection
8fingerlouie•1h ago
It does. It uses PhotoKit to access photos, so it basically uses your Apple Photos app (iOS or Mac) to download the photos.

The only scripted solution I can think of that works with ADP is osxphotos[^1], but that also uses PhotoKit, and requires the user to be signed in.

Personally I use PhotoSync [^2] to backup our photos from phones to a NAS. It works reliably, and supports exporting unmodified originals as well as edited versions, and XMP/AAE metadata alongside it.

^1: https://github.com/RhetTbull/osxphotos

^2: https://www.photosync-app.com/home

8fingerlouie•1h ago
It works well enough, but it's not without flaws either.

The desktop version works reliably, if you can get macOS to keep shares mounted for long enough, and mount them on request. The scheduler is also kinda wonky.

The iOS version has so far never finished an incremental backup overnight of our ~1TB individual libraries. It handles resume/suspend well, but for some reason, while it exports unmodified originals, it doesn't include AAE files, which the desktop version does.

PhotoSync does everything right, with the exception of trying to keep state of what has been exported, which makes little sense as it doesn't support restoring photos.

dawnerd•1h ago
Another option for iOS at least is PhotoSync. It’s nice, you can pull from photos and push to basically any remote service or local server. I have it backing up to both my nas and b2.
jojohack•2h ago
Became more fascinated with the history of my small hometown (Paris, Texas) TLDR: Much of it was wiped out by a 1916 fire. I spent some time recently vibe-coding this interactive map to provide some kind of historic visualization ( which enabled me to see the impact better ) https://gorch.com/parisfiremap/
submeta•2h ago
I pay around 10 euros a month to apple just so I can sync my photos from iphone to mac and ipad. That’s the only reason I need the 2 TB for icloud service. With an app like this I could download and keep copies and get rid of iCloud subscription?
pgalvin•1h ago
This will let you download all of your photos that already exist on iCloud Photos.

Going forward, you’d want to set up some other way to sync photos you take from your phone to your other devices. I can personally recommend Synology Photos for simplicity[1], or Immich[2] for an open-source (and in my opinion, slightly better) alternative you can run on any hardware, if you’d like to set up an always-on NAS. These are “Apple Photos” or “Google Photos” equivalents that you host yourself.

Alternatively, something like Syncthing[3] is a dead-simple way to sync your photos to various other devices as and when they are online, if you’d prefer to manage your photos in an ordinary file manager.

I’d be remiss not to mention that, for any solution where you move off the cloud to a central storage location of your own, you really must make backups to keep your photos safe. The 3-2-1 rule is a standard recommendation.

[1] https://www.synology.com/en-global/dsm/feature/photos

[2] https://immich.app/

[3] https://syncthing.net/

qaid•1h ago
Is there an iCloud Photos uploader?

I have a script to scan files from my camera and add a compressed copy to a folder. This folder was supposed to work with the iCloud for windows (10) program, but one day it just stopped working.

jeremymaluf•1h ago
Does anyone have any idea for why Apple makes it so difficult to keep photos downloaded?

For context, try tapping 'optimize photos' in iPhone storage settings and then figure out how to turn off the feature without using Google. Not only is the toggle nearly impossible to find, but it's also hidden from being searchable

deafpolygon•1h ago
> For context, try tapping 'optimize photos' in iPhone storage settings

Same place it’s always been. In Settings -> App -> Photos, toggle Download and Keep Originals. Same place it is for macOS as well. It’s not that magical. Search for “photos icloud” and you’ll be led to the setting for it.

WhyNotHugo•1h ago
I’ve been using usbmuxd+ifuse to copy the photo files straight from the phone. No need to wait for an upload/download to some remote server, just a direct cable from the phone to my computer. I get the original files, and can even move (instead of copy) to clear up the phone.
kimos•1m ago
This works on any iPhone? It mounts the non-privileged DCIM folder or whatever over USB to somewhere on your filesystem? With write access?
bicepjai•56m ago
Thanks for this project. Our family generates about 2TB of media a year, and it’s been like that for a while, so we’re sitting at roughly 12TB total. That’s very much the long tail of personal media.

I’m not ready to pay $60/month, but I do like iCloud’s memories and other photo features. My compromise is simple:

- I use docker-icloudpd to download our iCloud Photos to local storage over time. It’s been the most practical way I’ve found to back up multiple accounts into one place, though it does require occasional re-auth every so often. - I keep only the last ~2 years of media in iCloud and delete older ones after they’re archived locally. - For browsing and searching the older archive, I use Immich, which has been a great self-hosted personal photo cloud experience with a modern app feel.

For storage, I’ve found fast local disk matters a lot once you’re digging up photos from 5+ years ago. Something like an OWC 4M2 with M.2 drives keeps the experience snappy; a typical HDD-based NAS can feel sluggish when you just want to quickly pull up an old memory.

https://github.com/boredazfcuk/docker-icloudpd

stavros•52m ago
Does Photos have features you use that Immich doesn't? I've switched to the latter fully and love it (though I have an Android).
bicepjai•49m ago
Music and AI features are still lagging in Immich, and I can understand why. Immich machine learning is not flushed out yet. If Immich has plans for creating marketplace for extensibility like plugins, in the current era of Claude code, I am sure we will end up with many options or features.
quietsegfault•49m ago
> Disable Advanced Data Protection

Nope, bzzzzt, wrong!