config remote
rclone config
- Select
nfor a new remote, which is a named remote storage system - Enter a name for our remote, like gdrive
- Enter the number for Google Drive, which is
17in rclone 1.67.0 - You can Leave
client_idandclient_secretempty unless we have our own Google API credentials. But rclone says "Setting your own is recommended." - [If you want to have an app for your own, create an app in Google Cloud Console with Google Drive access and oauth support to receive client_id and secret. Then add your intended Google Drive email to the allowed list of that app.]
- Choose
1forfull access - Leave the service_account_file
empty(by pressing enter) - Avoid advanced configuration (Edit advanced config) with
n - Choose
yto authenticate rclone with a browser - Avoid configuring a shared drive (Team Drive) with
n - Select
yto confirm the configuration - Choose
qto finish the configuration
mount
mkdir ~/mylocalfolder
rclone mount --daemon --vfs-cache-mode full gdrive:/ ~/mylocalfolder/
unmount
You can do both:
- click on
ejectthrough File Manager - run this:
# I am not sure about this
fusermount -u ~/mylocalfolder` # will delete related mount row from /etc/mtab