How to clear Google Drive cache

Google Drive logo
Google Drive logo

Background

Drive File Stream options

Clear cache directory

Drive File Stream settings
Drive File Stream preferences
rm -rf ~/Library/Application\ Support/Google/DriveFS/

Clear cache content directory

rm -rf ~/Library/Application\ Support/Google/DriveFS/[0-9]*
$ cd ~/Library/Application\ Support/Google/DriveFS/
$ du -sh *
224M 114104707028901901726
4.0K Crashpad
4.7M Logs
20M Resources
12K account_db_sqlite.db
512K cef_cache
4.0K pid.txt
4.0K signin
$ rm -rf [0-9]*
$ du -sh *
4.0K Crashpad
4.7M Logs
20M Resources
12K account_db_sqlite.db
512K cef_cache
4.0K pid.txt
4.0K signin
Move DriveFS cache directory to Trash

Resources

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store