Dropbox, Google Drive and OneDrive on a Mac: why ~/Library/CloudStorage can be 60 KB or 1.2 GB
Dropbox, Google Drive and OneDrive on a recent Mac all work the same way underneath: Apple's File Provider. Their folders live in <code>~/Library/CloudStorage</code>, and most files in them are placeholders until you open them. That makes the usual size tools lie. We measured one such folder to show how much.
Our measurement
We used the one File Provider cloud folder on this Mac (a different service, Zoho WorkDrive, but it uses the same Apple mechanism as the three above). All numbers are from 13 November 2026, macOS 27.0.1. We only listed files and read their sizes, so nothing was downloaded.
| How you measure it | Result |
|---|---|
du -sh on the folder | 60 KB |
| Sum of the files' sizes (what Finder shows as the size of the files) | 1,188.7 MB in 415 files |
| Space actually allocated on this Mac (blocks used) | 0.1 MB |
Files flagged dataless (online only) | 410 of 415 |
| Files downloaded to the disk | 5 |
| A typical online-only file | ls -lO shows compressed,dataless; size 91 bytes logical, 0 blocks |
So the same folder is 60 KB, 1.2 GB or 0.1 MB depending on the question. The 1.2 GB is what the files weigh; 0.1 MB is what they cost your SSD right now.
Two things that surprised us
- Some folders refused to be listed. A scan with
findprintedResource deadlock avoidedfor many sub-folders. That error means the folder itself is online only and the tool isn't allowed to make the cloud app download it. So our 415 files is a lower bound: the real count is higher. Finder can open those folders; command-line tools often can't. - The small flag file has a big cost. Anything that reads an online-only file (a backup, an antivirus scan, a search index,
cp -R, even a preview) can ask the cloud app to download it. A copy of this folder to an external drive would pull down about 1.2 GB first.
How to check your own (read-only)
The first command counts placeholders, the second the total size, the third the real cost. The gap between the last two is what you're saving by keeping files online. The <code>2>/dev/null</code> hides the "deadlock avoided" errors, so remember the numbers can be low.
Freeing space without deleting the cloud copy
- Open the service's own settings (menu bar icon) and look for the online-only or "free up space" choice. Each service names it differently and some default to keeping everything on the Mac.
- In Finder, right-click a folder in the service's folder: if it offers a remove-download or online-only item, that evicts the local copy and keeps the cloud one. Evict from the app or Finder, never by deleting the file, because deleting in a synced folder deletes it everywhere (it goes to the service's own trash or recycle bin).
- Check the little cloud icon beside the name in Finder: a cloud means online only, nothing on the SSD.
- Before evicting, make sure the sync is finished (no pending upload). A file that's still uploading has no cloud copy yet.
Other places a cloud app keeps data
The sync folder isn't the only thing. Each service also keeps a database of what it has seen and some caches in <code>~/Library/Application Support</code>, <code>~/Library/Caches</code>, <code>~/Library/Group Containers</code> and <code>~/Library/Containers</code>. For the service we measured, the pieces we could read were tiny (56 KB of HTTP storage, 36 KB for the extension's container). Some folders returned "Operation not permitted" because macOS protects Group Containers from Terminal until you give it Full Disk Access, so we left them. You can look with <code>du -sh</code> after granting access, or use the service's own settings to reset its cache.
Old duplicates of the folder
TidBits reported in 2023 that when the services moved to File Provider, some Macs ended up with two Dropbox folders: <code>~/Dropbox</code> and <code>~/Library/CloudStorage/Dropbox</code>. If you still have an old folder at <code>~/Dropbox</code> or <code>~/Google Drive</code> next to the new one, compare them with <code>du -sh</code> before you delete the old one.
Related: Optimize Mac Storage: what macOS moves to iCloud, when, and how to get it back and What actually syncs to iCloud on a Mac.
Zofle, our free Mac app, shows which of your cloud files are really on the disk and which are online only, so you can free space without touching your cloud copy.
Download Zofle for MacSources
- TidBits: Apple's File Provider forces Mac cloud storage changes (move to ~/Library/CloudStorage, services using File Provider).
- Our own read-only measurement of one File Provider folder on macOS 27.0.1, 13 November 2026 (
du,stat,find -flags +dataless,ls -lO). - We measured a Zoho WorkDrive folder because it is the only File Provider service on our test Mac. We did not test Dropbox, Google Drive or OneDrive directly, so the menu names above are deliberately general.
Zofle Pro news
People signing up now will get Zofle Pro, with more features, for free when we launch it.