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):
-
Quit Google Drive app
-
Check it's no longer running:
pgrep -f DriveFS- 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)"- Re-open the Google Drive app:
open -a "Google Drive"-
Sign in
-
Reconfigure
Preferences-> setMirror Modeand choose the location as~/Google Drive -
Wait for it to reconcile
-
Verify new files were sync'd