iCloud and cloud storage
OneDrive on the Mac runs through Apple's File Provider system — the same machinery as iCloud Drive — so its files live in a managed location, arrive on demand, and vanish from the disk when space runs short. Managed well, it is seamless. Understood poorly, it eats a backup.
In Finder's OneDrive section, each file carries one of three states: a cloud outline (online-only — a placeholder, no local bytes), a check (local now, evictable later), or a solid always-keep mark (pinned local). The default for new files syncing down is online-only.
Right-click to move between states: Always Keep on This Device pins; Free Up Space evicts. Both act recursively on folders.
File Provider mounts OneDrive under ~/Library/CloudStorage/OneDrive-…, with a convenience link in the sidebar. That location matters for two reasons: it is where terminal tools and scripts must look, and it sits inside ~/Library — with consequences for search and backup tools that treat Library as system territory.
online-only files back up as stubs. Pin the folders whose loss would hurt, then check with du -sh that the bytes are really local.
terabyte of history costing megabytes of disk.
Names of online-only files remain searchable — metadata stays local. *Contents* do not: an evicted document's text exists only in the cloud, so content search finds pinned files and misses evicted ones with no error saying so. For a OneDrive-heavy workflow, that asymmetry — names always, contents sometimes — explains most of the mysterious search misses; OneDrive's own web search covers the evicted remainder.
macOS or OneDrive evicted them to reclaim space — the online-only state. The files are intact in the cloud; pin folders to prevent it.
Only ones that were local at backup time. Online-only files appear in backups as placeholders. Pin, then back up.
Everywhere keeps track of every file on your Mac, including the folders Spotlight hides and drives you have unplugged. Free for a day, then $19 once.
Version 2.20.3 · macOS 13+ · 4.7 MB · notarised