
Linking your root folder to Google Drive is a great way to access your files from anywhere, at any time. This can be especially helpful if you have a lot of files scattered across multiple devices.
To start, you'll need to have a Google account and a Google Drive account. You can sign up for a Google account if you don't already have one.
Having a Google account is a basic requirement for using Google Drive, and it's free to sign up.
Set Up Shared Folder
To set up your Shared Folder, create a new folder in your Google Drive. This will be the root folder that LawVu will sync with.
First, select your root folder. You'll need this folder's URL to create a service account with LawVu.
The LawVu team will create a service account specifically bound to your URL. This account will need access to your LawVu folder.
Share your LawVu folder with the service account that the LawVu team provides. This will give the account the necessary access to sync with your Google Drive.
Make sure to set the correct permission to "Editor" for the service account. This will allow the account to make changes to your LawVu folder as needed.
Getting Folder ID
To get the folder ID for linking your root folder on Google Drive, you can use the folder ID shown in the address bar of your browser. This ID is a unique number that identifies the folder.
If you want to manually specify the ID, you can use the "Set a value" option, which allows you to enter the ID yourself. For example, if you want to download a file to the root folder of the drive, you can simply type "root" in the parameter.
Alternatively, you can use the "Calculate a value" option to determine the folder ID using a special formula or method. This can be useful if you need to perform some calculation to get the correct ID.
You can also use the "Save the previous step result" option to take the result of the previous activity in the workflow as the folder ID. This is a convenient way to reuse the folder ID from a previous step.
Here are the three options for getting the folder ID:
- Set a value: manually specify the ID of the folder
- Calculate a value: use a special formula or method to determine the folder ID
- Save the previous step result: take the result of the previous activity in the workflow as the folder ID
Setup Rclone
To set up Rclone, you'll need to understand the "remote_setup" guide, which is crucial for linking your root folder to Google Drive.
Rclone requires a token from Google to work with Google Drive, especially when setting it up via SSH.
You'll need to copy-paste the token to your SSH session manually in a remote-ssh case.
Rclone needs to get the token via a browser from Google to function correctly.
This process might seem a bit tricky, but it's essential for a seamless connection between your root folder and Google Drive.
Remote Machine Setup
To set up a remote machine, you'll need to understand the "remote_setup" guide, which is crucial for setting up Google Drive via SSH.
You'll need to use SSH to connect to your remote machine, as rclone needs to obtain your Google Drive token through a browser.
To obtain the token, you'll need to manually copy-paste it to your SSH session.
This process can be a bit tricky, but with patience and attention to detail, you'll be able to successfully set up your remote machine and link your root folder to Google Drive.
You'll need to use the token obtained from Google to configure rclone and complete the setup process.
Make sure to carefully follow the instructions in the "remote_setup" guide to avoid any errors or issues during the setup process.
Sources
- https://help.lawvu.com/en/articles/9738991-for-administrators-configure-the-lawvu-google-drive-integration
- https://developers.google.com/drive/api/guides/folder
- https://community.zapier.com/how-do-i-3/google-drive-creating-an-additional-folder-in-the-root-when-testing-find-folder-or-create-folder-actions-12653
- https://docs.electroneek.com/docs/google-drive
- https://rmust.me/how-to-r-clone-copy-files-from-google-drive-link/
Featured Images: pexels.com