Skip to content

Instantly share code, notes, and snippets.

@HariSekhon
Created December 30, 2025 21:47
Show Gist options
  • Select an option

  • Save HariSekhon/459965d4dbc2f613335cfc87503f82d2 to your computer and use it in GitHub Desktop.

Select an option

Save HariSekhon/459965d4dbc2f613335cfc87503f82d2 to your computer and use it in GitHub Desktop.
google-drive.md from HariSekhon/Knowledge-Base repo: https://github.com/HariSekhon/Knowledge-Base

Google Drive

Fix Non-Syncing / Location Change

Fix Google Drive on macOS not syncing or having switched to the wrong location (~/Library/CloudStorage/GoogleDrive-<account>/ - this was forced by an Apple change):

  1. Quit Google Drive app

  2. Check it's no longer running:

pgrep -f DriveFS
  1. Move the database to force it to rebuild after restart:
mv "$HOME/Library/Application Support/Google/DriveFS" \
   "$HOME/Library/Application Support/Google/DriveFS.bak.$(date +%s)"
  1. Re-open the Google Drive app:
open -a "Google Drive"
  1. Sign in

  2. Reconfigure Preferences -> set Mirror Mode and choose the location as ~/Google Drive

  3. Wait for it to reconcile

  4. Verify new files were sync'd

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment