Skip to content

Instantly share code, notes, and snippets.

@knu
Last active January 13, 2021 03:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save knu/10c48cf61d2238269b453494b2dece80 to your computer and use it in GitHub Desktop.
Save knu/10c48cf61d2238269b453494b2dece80 to your computer and use it in GitHub Desktop.
Running Google Drive File Stream on macOS 11 Big Sur (Intel)

Open Terminal.app and paste the following line. It will ask you for a password, which enter.

curl -L https://gist.github.com/knu/10c48cf61d2238269b453494b2dece80/raw/GoogleDriveFileStream.sh | sh

You can save the script for repeated use.

curl -LO https://gist.github.com/knu/10c48cf61d2238269b453494b2dece80/raw/GoogleDriveFileStream.sh
chmod +x GoogleDriveFileStream.sh

./GoogleDriveFileStream.sh
#!/bin/sh
set -ex
sudo rsync -av /Applications/Google\ Drive\ File\ Stream.app/Contents/MacOS/dfsfuse.kext /Library/Extensions/
sudo kextload /Library/Extensions/dfsfuse.kext
killall Google\ Drive\ File\ Stream || :
while pgrep -q Google\ Drive\ File\ Stream; do
sleep 1
done
open /Applications/Google\ Drive\ File\ Stream.app
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment