Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

iCloud Drive not removing files from local drive when it is full

I've recently decided to migrate from Dropbox to iCloud. So I now have 2TB of iCloud storage. I assumed the easiest way to sync would be to simply copy the folders using Finder into the iCloud Drive.


So I copied some large folders on my Macbook and everything looked good. The folders are being uploaded to iCloud as I can see them on other devices.


But now when I try to copy a folder into the iCloud Drive on my Mac, I am being told my hard drive does not have enough storage. I had thought this is the point where iCloud Drive has the smarts to start removing items on my drive that are already synced to iCloud.


I have already ticked System Preferences -> Apple Id -> iCloud -> Optimise Mac Storage.


I have also set iCloud Drive to sync Desktop and Documents folders (not that this should matter, the iCloud drive folder I have created is at the root i.e. iCloudDrive -> MyFolder)


I am sure there is something obvious I am missing. Any advice is much appreciated :-)




MacBook Pro 13″, macOS 12.1

Posted on Aug 4, 2022 2:29 PM

Reply
Question marked as Best reply

Posted on Aug 10, 2022 2:14 AM

The solution to this is twofold.


First, you can right-click on any folder in the iCloud Drive in Finder and click "Remove Download". This removes the file from the hard drive, but keeps it on the cloud. In theory, iCloud Drive should have the intelligence to do this for you, but possibly as I am moving large amounts of files (and thus have accesses a lot of the data recently), it is not removing the files. BTW, I cannot see any reference to remove download option for Mac on Apple support, although there is an article on the windows version.


Remove iCloud files and photos to free up space on your PC - Apple Support (IE)


Secondly, for the space to become available, you should switch off Time Machine. Time Machine creates local backups. So clicking Remove Download will in theory remove the file, but it will still be in the Time Machine backup, so the space is not really freed. It is discussed here: -


About Time Machine local snapshots - Apple Support


So I am taking the approach of leaving Time Machine off while I migrate from Dropbox to iCloud. All of my content is safely stored on Dropbox anyway (I am keeping both accounts until transfer is complete) so it is low risk.


Thanks for all the suggestions.


Similar questions

9 replies
Question marked as Best reply

Aug 10, 2022 2:14 AM in response to mdb7

The solution to this is twofold.


First, you can right-click on any folder in the iCloud Drive in Finder and click "Remove Download". This removes the file from the hard drive, but keeps it on the cloud. In theory, iCloud Drive should have the intelligence to do this for you, but possibly as I am moving large amounts of files (and thus have accesses a lot of the data recently), it is not removing the files. BTW, I cannot see any reference to remove download option for Mac on Apple support, although there is an article on the windows version.


Remove iCloud files and photos to free up space on your PC - Apple Support (IE)


Secondly, for the space to become available, you should switch off Time Machine. Time Machine creates local backups. So clicking Remove Download will in theory remove the file, but it will still be in the Time Machine backup, so the space is not really freed. It is discussed here: -


About Time Machine local snapshots - Apple Support


So I am taking the approach of leaving Time Machine off while I migrate from Dropbox to iCloud. All of my content is safely stored on Dropbox anyway (I am keeping both accounts until transfer is complete) so it is low risk.


Thanks for all the suggestions.


Aug 8, 2022 9:21 AM in response to mdb7

Select folders from drop box ( they come under category of Macintosh HD ) see the article Check if your Mac needs more RAM in Activity Monitor - Apple Support

when you moved folders ( used select and copy and then pasted Mac keyboard shortcuts - Apple Support from dropbox to Macintosh HD , they occupied even more larger space in Macintosh HD read Get system information for your Mac - Apple Support

You can again drag and drop those folders or select and copy - paste in drop box , again select them right click and move to bin , restart the Mac and empty the trash , the hard drive space will be reduced .


Aug 8, 2022 9:49 AM in response to mdb7


I have 2TB on the could. I have a 500Gb hard drive. I want iCloud drive to manage the 2Tb for me and delete when necessary. It is not doing this.

It will not automatically manage and delete files or folders ( may be you have enabled optimise storage ) , you have to manually delete it .

Regarding why they don't sync with iCloud Drive , even iCloud Drive and desktops and documents box is turned as on .

You have to check what is the size of the folder , right click on each one and use get info Get file, folder and disk information on Mac – Apple Support

See Access iCloud Drive files from your iPhone and other devices - Apple Support

Also check what are the read and write permissions set up on Macintosh HD it should be like this .


See If you don’t have permission to use files on a Mac disk - Apple Support

If you need permission to open an item on Mac - Apple Support

Note: in case if you had changed read and write permissions for Macintosh HD , most probably Mac OS is corrupted , you might have to erase the hard drive and reinstall Mac OS .



Aug 6, 2022 9:33 AM in response to mdb7

Greetings mdb7,


If you are creating a copy of a local folder and moving that into iCloud Drive, instead of just moving the content itself to iCloud Drive, that would explain why you have a duplicate copy of that data stored locally on your Mac. You can learn more about using iCloud Drive by reviewing the guidance in these resources:


Access and manage your files in iCloud Drive - Apple Support


Add your Desktop and Documents files to iCloud Drive - Apple Support


Store your files in iCloud and save space on your device
The files that you keep in iCloud Drive use your iCloud storage. And as long as you have enough space in iCloud, you can store as many files as you like.
If you need more space, you can delete files to free up space in iCloud. When you use iCloud Drive and delete a file on one device, it deletes on every device that you're signed in to with the same Apple ID. You can find deleted files in the Recently Deleted folder in the Files app or on iCloud.com for 30 days. After that, they're removed. 
Learn more about how to manage your iCloud storage


Take care.

Aug 8, 2022 7:23 AM in response to mdb7

Hi mdb7,


While it's possible to use iCloud to Optimize storage space on your Mac, it does not appear to do the same for an external drive.


1. Choose Apple menu  > About This Mac, click Storage, then click Manage.
macOS calculates how much space is being used by different categories.
Note: Wait until all categories are finished being calculated to ensure you’re seeing the accurate amount of space. Values are refined as each category is calculated.

View the recommendations and decide how to optimize storage on your Mac.

If you'd like, you can always send your suggestion to Apple using this link: Product Feedback - Apple


Take care.

Aug 8, 2022 7:29 AM in response to mdb7

See this thread Cloud and Hard Drive - Apple Community

Find and delete files on your Mac - Apple Support

Free up storage space on your Mac - Apple Support

Connect and use other storage devices with Mac - Apple Support

I have also set iCloud Drive to sync Desktop and Documents folders (not that this should matter, the iCloud drive folder I have created is at the root i.e. iCloudDrive -> MyFolder) - not required to create folders at the root .

Aug 8, 2022 2:35 AM in response to Dustin_R_308

Thanks very much for the response.


I am not actually duplicating the data, it is on an external drive and I am copying to the iCloud Drive. I have lots of iCloud storage free (1.8TB). But I am being limited by the amount of storage on my hard drive. I would have thought iCloud Drive had the built-in intelligence to remove files from the hard drive (that are already synced to the cloud) as I add more files to iCloud Drive. This is not happening.

Aug 8, 2022 9:30 AM in response to tygb

The dropbox folders are not on my Hard drive so deleting them makes no difference.


But I am still confused as to why I would need to delete anything? What's the point of iCloud Drive syncing to the cloud if it does not manage this for you?


I have 2TB on the could. I have a 500Gb hard drive. I want iCloud drive to manage the 2Tb for me and delete when necessary. It is not doing this.

iCloud Drive not removing files from local drive when it is full

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.