Skip to content

Instantly share code, notes, and snippets.

@viniciusmelocodes
Last active February 21, 2022 04:08
Show Gist options
  • Save viniciusmelocodes/9177f5ad4c22d4e17d0c4a5451780eff to your computer and use it in GitHub Desktop.
Save viniciusmelocodes/9177f5ad4c22d4e17d0c4a5451780eff to your computer and use it in GitHub Desktop.
# google-drive-ocamlfuse
$ sudo add-apt-repository ppa:alessandro-strada/ppa
$ sudo apt update && sudo apt install google-drive-ocamlfuse
# To set your Google drive folder, launch the tool.
$ google-drive-ocamlfuse
# It’ll pop up a webpage in your default browser, prompting you to log in to your Google account.
# Go through the login process. If it’s successful, you’ll see a success message. You can now close the browser.
# Now, we need to create a mount point for Google Drive. Let’s create a sub-directory under the home directory.
$ mkdir -v ~/myGoogleDrive
# Tell google-drive-ocamlfuse to mount your Google Drive folder at the location.
$ google-drive-ocamlfuse ~/myGoogleDrive
# Check if the mount was successful.
$ df -h
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment