6

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

enter image description here

2
5

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/

2
3

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.

2
  • Is there a way to have an alias in /home It is not that usefull to access run/user/$UID/gvfs/google-drive:host=gmail.com,user=username/ – notaprogrammertoday Apr 17 at 15:52
  • You can mount this folder manually and then create symlink for it. Or use rclone as stated in other answer. But my recommendation is to use DropBox with its great integration to file-managers. Google does not release official normal Drive client for linux. – N0rbert Apr 17 at 16:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.