Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

hsgamerpl

Cancelled
Original poster
Aug 13, 2018
21
2
Warsaw, Poland
Hello,

This is my first time with iCloud, I always thought it works as Dropbox/OneDrive with on demand sync features. But looks like it does not or I do not know something.

I've copied all my content from my backup external drive straight to iCloud Drive folder to sync it with the cloud as another backup. but I do not want to STORE it locally after the upload is completed. But I see that iCloud Drive does not have such option as "store in cloud only".
I have tried "Optimize Mac storage" option but it does nothing for me.
I have 500GB SSD drive which currently has only 30GB free storage, wtf Apple?
Do I understand, that even after "factory reset" of MacBook, iCloud Drive will re-download the content? Then what is the point of having bigger SSD while it will be occupied anyway?

I do not know how to work with this service :(

BR,
 
  • Like
Reactions: Hrbarnett

Phil A.

Moderator emeritus
Apr 2, 2006
5,799
3,094
Shropshire, UK
Having the Optimise Mac Storage option turned on sort of does what you want in as much as it will remove the local copies.

However, it will only do so when the OS decides it needs the disk space and the files haven't been used for a while - there is no way to control it manually
 

hsgamerpl

Cancelled
Original poster
Aug 13, 2018
21
2
Warsaw, Poland
Then I do not understand the purpose of using iCloud Drive as a cloud storage, when it stores files in both locations.
Second problem is, I want to import photos (100+GB) to Photos app, but again, Mac OS says I do not have enough space to do it (because iCloud Drive is taking up all the local space). How the hell am I supposed to do it then? Deleting from iCloud Drive folder will delete it from the cloud also. -.-
 
  • Like
Reactions: Hrbarnett

afir93

macrumors 6502a
Jan 5, 2018
730
910
While Apple doesn't officially want you to be able to choose which files iCloud keeps locally and which it doesn't, there are currently two ways of getting around that restriction (kind of, at least):

(1) Via a Terminal command. The command brctl evict name (with name being replaced with the path of the file or location (assuming it's something within your iCloud Drive, of course)) will remove the local copy of that file but keep storing it in iCloud Drive, available to re-download at anytime (with the little download-arrow next to the file in Finder). This also works for entire locations, i.e. if you enter the path of a folder, it will recursively remove the local copies of all files inside (but keep them in iCloud). This does require the "Optimize Storage" option to be turned on.

Now there are some downsides to this, however. Firstly, it doesn't always seem to work forever – while it will always instantly remove a file for me, some sturdy files would just randomly decide to download again a short while later, which is especially annoying with large files that are gigabytes in size and are suddenly hugging your internet connection. This is most likely because iCloud's intelligent algorithm for optimizing storage will take over sometime after you've entered that command and will decide that the file was used so recently that it should be stored locally. Usually it ends up working after sometimes entering the command multiple times, but it's still not perfect.

The other "issue" is (though for most people it won't be an issue) that this also seems to delete most of the metadata of a file, which (I believe) won't be deleted if iCloud's intelligent "optimize storage"-algorithm removes the file on its own. This means that Finder previews might just show a blank file page and that Spotlight won't be able to index the content of these files. Like I said, for most people this probably isn't a big deal, but it's worth mentioning.

(2) The second possibility is via a neat little free Finder extension called iCloud Control. Now to be clear, this extension doesn't do anything different than the Terminal command, all it does is basically offering the evict-command as a Toolbar command in Finder so you don't have to go through the Terminal-path each time. This means that all the up- and downsides from the above paragraphs will carry over to this tool – sometimes, files will re-download after a while against your will, etc. Still, it's a huge convenience to have this right within Finder itself, and if removing the local copies of files in your iCloud Drive is something you see yourself doing on a more frequent basis, then I highly recommend this tool.

In addition, @OP you should be aware that if the "Optimize Storage"-option is turned on, iCloud will automatically remove the local copies of files on your drive if you run out of space. If you open the info-window for your main drive in Finder, you can actually see there how much space is available if Apple were to remove all of the iCloud-stored files under "free storage": the "purgeable" storage in this section will show you the amount of storage that is currently occupied by the local copies of iCloud Drive files but which can and will be deleted if you run out of space.

In conclusion, I really hope that Apple adds a manual toggle for removing the local copies of files to Finder sometime in the future, and the lack thereof is one of the few downsides of Mojave for me. The functionality is clearly already there, as indicated by the existence of the Terminal command (though Apple would need to work a bit on having user commands take priority over iCloud's own local storage management), it shouldn't be too hard to add a "Remove local copy of file"-toggle to the right-click menu in Finder. iTunes and the Music app on iOS already have the option to download and remove the local copy of music at will, and so does iBooks on iOS. There is really no reason for iCloud Drive in Finder not to have it.
 
Last edited:
  • Like
Reactions: azpekt and Xenex

carambo

macrumors member
Aug 29, 2009
79
43
Switerland
Hi, we are know in 2019, is there any progress made by Apple or 3rd party on this topic, i.e. to decide to store only on the Icloud drive to free space on the local drive ?
Txs
 

BigMcGuire

Cancelled
Jan 10, 2012
9,832
14,025
Hi, we are know in 2019, is there any progress made by Apple or 3rd party on this topic, i.e. to decide to store only on the Icloud drive to free space on the local drive ?
Txs

This is why I use OneDrive. I want some stuff "in the cloud" and locally. I also want to be able to selectively sync a work folder on my windows PC but not my personal stuff. But OneDrive doesn't do live photos.

So, I use iCloud for my 136GB of photos and apps that use iCloud storage (Notability, Scanner Pro, voice recording apps, etc...) and OneDrive for everything else.
 

carambo

macrumors member
Aug 29, 2009
79
43
Switerland
This is why I use OneDrive. I want some stuff "in the cloud" and locally. I also want to be able to selectively sync a work folder on my windows PC but not my personal stuff. But OneDrive doesn't do live photos.

So, I use iCloud for my 136GB of photos and apps that use iCloud storage (Notability, Scanner Pro, voice recording apps, etc...) and OneDrive for everything else.

Ok, but how do you choose to store your photos only on Icloud vs local, or the opposite ?
 

BigMcGuire

Cancelled
Jan 10, 2012
9,832
14,025
Ok, but how do you choose to store your photos only on Icloud vs local, or the opposite ?

In the Photos app you can choose to optimize storage (where Apple decides what to keep locally and what to keep in the cloud (on demand really)) or you can choose to download all originals.

When I had my 128GB 2015 MBA for 3 years, I did not have photos locally on my MBA. I set the photos library to be on an external drive and manually backed up my iPhone weekly (not linked to iCloud Photo).

When I got my 2017 MBP last year, I intentionally got a 1TB internal so I could have all originals locally and back them up via BackBlaze and via Time Machine (I moved to iCloud photo then too).

My iPad has optimize storage and seems to keep about 10-12GB locally.
 

carambo

macrumors member
Aug 29, 2009
79
43
Switerland
In the Photos app you can choose to optimize storage (where Apple decides what to keep locally and what to keep in the cloud (on demand really)) or you can choose to download all originals.

When I had my 128GB 2015 MBA for 3 years, I did not have photos locally on my MBA. I set the photos library to be on an external drive and manually backed up my iPhone weekly (not linked to iCloud Photo).

When I got my 2017 MBP last year, I intentionally got a 1TB internal so I could have all originals locally and back them up via BackBlaze and via Time Machine (I moved to iCloud photo then too).

My iPad has optimize storage and seems to keep about 10-12GB locally.

Ok, txs
 
  • Like
Reactions: BigMcGuire

simonmason

macrumors newbie
Jul 21, 2013
10
0
I have Photos setup to optimize space on my MacBook yet it is currently occupying 175 GB. My Mac has 15GB free. I see the options about forcing the Mac to store certain files in the cloud but I think this refers to files on disk only - not the photos library? My Photos app says Paused - Not Enough Local Storage. It has a link to Manage storage which doesn't really offer anything as I have accepted all of the recommendations.

Also, the Photos Library file is showing 42GB - so where are the other 133 GB?
 

afir93

macrumors 6502a
Jan 5, 2018
730
910
I have Photos setup to optimize space on my MacBook yet it is currently occupying 175 GB. My Mac has 15GB free. I see the options about forcing the Mac to store certain files in the cloud but I think this refers to files on disk only - not the photos library? My Photos app says Paused - Not Enough Local Storage. It has a link to Manage storage which doesn't really offer anything as I have accepted all of the recommendations.

Also, the Photos Library file is showing 42GB - so where are the other 133 GB?
Are you sure that your photo library actually occupies 175GB on your Mac, and that this isn't just the total size of the photo library (within iCloud), whereas the 42GB is what is currently downloaded of that to your Mac? Where are you getting the 175GB number from?
 

simonmason

macrumors newbie
Jul 21, 2013
10
0
The 175 GB is what it reports in System Information underwear Storage in About this Mac. I assumed this was what is in my photos library as it says "Photos". Now that you ask then I am guessing this is reporting all images on my Mac? I am working my way through my hard drive but I am not finding anything like 100+ GB of images. I am running Disk Inventory X and Daisy Cleaner to see if I can hunt out these files but have not found anything yet.
 

Peepo

macrumors 65816
Jun 18, 2009
1,157
599
You want iCloud control on github

I just installed on MacOS 10.15 Beta and seems to work fine.

But MacOS 10.15 seems to have this ability built in now Right clicking on a file or folder gives option to download or remove download. Only advantage of this iCloud Control is you can pick select remove selected item locally in pull down without any file selected and it removes all in the current view (not sure if this is intended or a bug). To remove a bunch of files with new built-in way you have to select them manually, or navigate up a level and select the entire folder.
 
Last edited:

afir93

macrumors 6502a
Jan 5, 2018
730
910
I just installed on MacOS 10.15 Beta and seems to work fine.

But MacOS 10.15 seems to have this ability built in now Right clicking on a file or folder gives option to download or remove download. Only advantage of this iCloud Control is you can pick select remove selected item locally in pull down without any file selected and it removes all in the current view (not sure if this is intended or a bug). To remove a bunch of files with new built-in way you have to select them manually, or navigate up a level and select the entire folder.
Sadly, it seems the feature was pulled from Catalina sometime during the beta season, probably alongside the announced iCloud Folder Sharing – was really looking forward to these two things. Still, the fact that Catalina now officially had the feature of removing local copies of iCloud Drive files (and also the opposite, to "pin" a file, i.e. to always keep a local copy and protect it from being removed through the automatic "Optimize Storage" management) gives me hope that this feature will return in spring alongside iCloud Folder Sharing.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.