Unofficial archive. This is a read-only, community-run archive of the Apple Support Community. It is not affiliated with or endorsed by Apple Inc.

Running code after iCloud deleted all of my files

Today I learned that all of my important files were being uploaded to iCloud and was filling up space. I turned it off and accidentally pressed the wrong button and now all of my files have disappeared. I can redownload all of my files, but there is 100GB which will take a day, and while I am downloading my IDE and other file viewers appear to not work properly. I am scared to run any of my code while this stuff is redownloading.


Given how much apple invests in making UI intuitive, the design choices here really jump out. Given that Apple is an industry leader and puts more thought than others into UI, one can really only conclude this is intentional. There is an obvious asymmetry here that any person would realize. One can delete all of their photos and documents at the press of a button for not purchasing the next tier, but will require lots of effort to recover them. This sort of behavior seems almost like extortion: Apple is threatening your files in exchange for a few bucks a month. This is reminiscent of the cheaper off-brand android phones that run ads.


Certainly, Apple needs to make a profit. The iCloud segment is 2.5% of Apple's revenue. Apple's profit margins are 27% and the services segment, which includes iCloud, is certainly much larger at 76%. If this doing this grew the iCloud segment 100%, Apple's margins would be at 29% in the short run. In exchange, Apple has sold their luxury brand image for 2% more profits. Even then, I'm not sure if you're seeing this sort of growth despite this aggressive marketing.


I am not on Apple's marketing team, but if I were, I would dial down trying to push iCloud so aggressively. I use AWS and Google drive for a lot of my files, and have already purchased 200GB of iCloud as a courtesy for my photos. Threatening the user's files, and time, this way is extremely coercive. This cheapens the whole Apple brand. I think anybody who has spent thousands of dollars on the apple ecosystem would be quite annoyed by this.


Now, for my question: is it safe to run C++ code on files that haven't been downloaded yet? My IDE is not loading some of these files.

2 replies

It is completely understandable to feel stressed and frustrated by this. When you disable iCloud Drive for your Desktop and Documents folders, macOS moves the local files to a hidden archive folder on your Mac and replaces your active folders with empty ones, making it look like everything vanished instantly.

To answer your question directly: No, it is not completely safe to run your C++ code right now, and you should wait for the downloads to finish.

Thanks for answering my question @WheelieNick :) Thats what I believed so about the code. I believe any processes running when the files were removed actually get written to the archives as well.


I was on the phone yesterday with AppleCare and was able to find some of these archives, but I did a search of these archives and a lot of the files are simply deleted locally. Thankfully the files I was working on at the time were archived, so I am able to do some work right now, but that doesn't change the fact that there are many files that are simply missing.


However, they are on your iCloud servers, but my connection appears to be constantly throttled and reset by your servers. Downloading directly from iCloud website is on the same order of magnitude as my usual download speed (~10Mbps), but the direct Finder backup is much slower (0.5Mbps). Your website however doesn't allow one to download folders, only individual files. Therefore, it is impractical to use the website and one must go through finder.


Given the asymmetry of how easy it is to delete a seemingly random and large enough subset of my files to cause a major headache — one click verses the fact that it takes at least a full day (I repeat >24 hours) to redownload all my files — it really looks like Apple is retaliating because I didn't upgrade from the second tier to third tier. Do you see what this looks like? You are supposedly the most design centric company and your advertising team spends at least millions a year on promoting that image.