TL;DR: run the command in your Terminal to remove your Drive File Stream cache:
- Google Drive Clear Cache | Remarkablemark
- Read Log File From Google DriveFS - Stack Overflow
- Three Ways To Access The Library Folder On Your Mac
Official Google Chrome Help Center where you can find tips and tutorials on using Google Chrome and other answers to frequently asked questions. I would like to find the reason for a bug with an application and the Google Drive on Mac. With FSMonitor, I see that drive writes many logs in a structuredlog. file at /Library/Application Supp. Aug 06, 2020 I was doing a sweep of my mac using OmniDiskSweeper, and found a folder (Application Support Google Chrome Default Extensions) that is stated to be taking up 15.3 GB. Four folders within the Extensions folder are taking up 3.5 GB, 3.2 GB, 1.8 GB, and 1.5 GB respectively. Official YouTube Help Center where you can find tips and tutorials on using YouTube and other answers to frequently asked questions. I got this from Google Support after sending them logs from the machines that were having trouble. Close File Stream on your computer. Open Terminal, you can press the command button and the space bar and write “Terminal” and press enter. Type the following command inside the terminal: sudo chmod a+wx /Library/'Application Support.
WARNING: If files are pending upload to Drive, deleting the cache may cause the files to be lost (see comment).
Background
I installed the Google Drive desktop app in order to sync files between my computer and the cloud.
I found that you could right-click a file, hover over Drive File Stream
, and select an option:
Available offline
Online only
(default)
But even when Online only
is selected, large files still persist on my computer.
Clear cache directory
To remove all files from your computer cache, you can delete the Drive File Stream cache.
You can find your DriveFS cache path by going to Drive File Stream
> Settings
(gear icon) > Preferences...
> Local cached files directory
.
By default, the cache directory should be ~/Library/Application Support/Google/DriveFS
.
To delete the DriveFS cache directory using Terminal:
WARNING: If files are pending upload to Drive, deleting the cache may cause the files to be lost (see comment).
The side-effect of this is that it also deletes your credentials so you’ll need to login again.
Google Drive Clear Cache | Remarkablemark
Clear cache content directory
To clear cache without deleting credentials, you can delete just the cache content directory:
Read Log File From Google DriveFS - Stack Overflow
WARNING: If files are pending upload to Drive, deleting the cache may cause the files to be lost (see comment).
What the command above is doing is deleting the numeric directory from DriveFS:
Note: The numeric folder name may change from machine to machine.
After deleting this directory, cached files can no longer be opened. In order to open the Drive File Stream files again, you’ll need to quit and restart the desktop app and sync the files.
Resources
Three Ways To Access The Library Folder On Your Mac
See Uninstall Drive File Stream > Step 3: Clear files cached on your computer.