Google Drive Repository from the terminal
How can I access this repository from terminal? It is the access to my google drive account from the desktop. Is there a way to make it accessible from \home
You should use rclone
(use apt install rclone
to install it) and configure it for "Google Drive". Detailed information on how to configure rclone
for "Google Drive" is given at https://rclone.org/drive/
After you complete the configuration, mount your "Google Drive" with the following command:
rclone -v --vfs-cache-mode writes mount "$rdrive": "$ldrive"
Here $rdrive
is the remote:
string configured in the reference given above; $ldrive
is a local empty directory (like ~/MyGoogleDrive
). The above command will not return and the drive will be mounted until you press Ctrl+C to terminate this command.
Similarly you can configure and use "Microsoft One Drive" and many other cloud providers. A complete list of the cloud providers supported by rclone
can be found at https://rclone.org/
Such Google Drive location is placed in directory like
/run/user/$UID/gvfs/google-drive:host=gmail.com,user=username/
But it is useless because of crypted file names like 1N-QaxXtI-N3PimnrqloO3uNl7Thq3PUB
.