Is it safe to delete Google Drive for desktop’s DriveFS folder?
- Leave it.
DriveFSis Google Drive for desktop’s cache, and Google’s admin documentation says files are moved there before they’re uploaded. Delete it while something is waiting to upload and that change can be lost. - What it costs you: Google advises caution even when clearing it to fix problems, and on macOS 12.1 and later macOS controls the size of the cache, so there’s little to win.
- Does it come back? Yes, Drive rebuilds it. To use less space, stream files instead of mirroring them, and keep fewer files available offline.
- SiftMac’s verdict: Leave it
1. What it is
Google Drive for desktop shows your Drive in Finder without keeping every file on your Mac. Its cache holds files you’ve opened, files you made available offline, and changes on their way up to Google. Google’s admin guide is blunt about it: be cautious about clearing the cache to try to fix general problems, because files are moved there before they’re uploaded.
On macOS 12.1 and later, Drive for desktop streams through Apple’s File Provider, the system iCloud Drive also uses. Google says that on those versions macOS controls where cached data lives and how big the cache gets.
2. Where it is
~/Library/Application Support/Google/DriveFS
~/Library/CloudStorage
DriveFS is the default cache location Google lists for macOS. Your Drive itself appears in ~/Library/CloudStorage, a location Google says you can’t change when Drive uses File Provider.
3. How big it gets
Without File Provider, Google capped the cache at 20% of the free space on the drive, not counting files made available offline or files being uploaded. With File Provider, macOS decides. To see what Drive is using now:
du -sh ~/Library/Application\ Support/Google/DriveFS
The space figure inside Drive for desktop is the room left on your Mac’s drive, not your Google storage.
4. How to free space safely
Stream instead of mirror
- Open Drive for desktop and make sure your local files have finished syncing.
- Click Settings, then Preferences.
- On the left, click Folders from Drive, and under My Drive syncing options choose Stream files.
- Close Drive for desktop, then delete the old mirrored folder, as Google’s steps say.
Google puts the difference simply: streaming a file uses almost no computer space, while mirroring downloads a full copy to your computer.
Fewer offline files
Streamed files are online-only unless they were made available offline through Drive for desktop, so turn that off for folders you don’t need without a connection.
Disconnect an account you don’t use
Click your profile picture in Drive for desktop’s settings and choose Disconnect account. Google notes that disconnecting a streaming account removes its offline files, so make sure nothing is still uploading first.
5. What happens afterwards
- After switching to streaming, your files are still in Drive; each one downloads when you open it, so the first open needs a connection.
- Google notes that Quick Look previews only work for downloaded files.
- If DriveFS was deleted by hand, Drive rebuilds it, but anything that hadn’t finished uploading may be lost.
Questions
Can I delete the DriveFS folder to free up space?
Google advises against clearing it casually, because files are moved there before they’re uploaded. Free space by streaming and by keeping fewer files offline instead.
Why does Google Drive take space if it streams?
Files you open are cached, files made available offline stay on the Mac, and uploads wait in the cache. On macOS 12.1 and later, macOS manages how big that gets.
Where is my Google Drive folder on a Mac?
In ~/Library/CloudStorage. With File Provider, Google says you can’t change that location.
Is Google Drive’s cache the same as Chrome’s?
No. Chrome’s cache is in ~/Library/Caches/Google/Chrome and only holds parts of web pages; DriveFS belongs to Drive for desktop.
How SiftMac handles it. SiftMac leaves DriveFS alone: it isn’t one of the caches it clears, and the space map simply shows how big it is. One side effect: while Drive for desktop is running, SiftMac also leaves ~/Library/Caches/Google alone, since that folder is shared by Google’s apps.
Download SiftMac · scanning is free, and so is your first 2 GB of cleaning · See how it works