Google drive files link

STOP and READ USE THIS TEMPLATE NO EXCEPTIONS -

What is the problem you are having with rclone?

my question is if there is a way to get the direct link to a file in google drive?, so if I paste it in the browser it takes me directly to the file.

Run the command 'rclone version' and share the full output of the command.

Latest version:
rclone v1.66.0

  • os/version: ubuntu 20.04 (64 bit)
  • os/kernel: 5.15.0-100-generic (x86_64)
  • os/type: linux
  • os/arch: amd64
  • go/version: go1.22.1
  • go/linking: static
  • go/tags: none

Which cloud storage system are you using? (eg Google Drive)

Google drive

The command you were trying to run (eg rclone copy /tmp remote:tmp)

Paste command here

Please run 'rclone config redacted' and share the full output. If you get command not found, please make sure to update rclone.

[box]
type = box
box_sub_type = user
token = XXX

[gkira]
type = drive
client_id = XXX
client_secret = XXX
scope = drive
token = XXX
root_folder_id = XXX
team_drive = 

[glmgg]
type = drive
client_id = XXX
client_secret = XXX
scope = drive
token = XXX
team_drive = 

[gubb]
type = drive
client_id = XXX
client_secret = XXX
scope = drive
token = XXX
root_folder_id = XXX
team_drive = 

[mega]
type = mega
user = XXX
pass = XXX

[onedrive]
type = onedrive
chunk_size = 10G
token = XXX
drive_id = XXX
drive_type = personal

[photos]
type = google photos
token = XXX

[yandex]
type = yandex
token = XXX
### Double check the config for sensitive info before posting publicly

A log from the command that you were trying to run with the -vv flag

Paste  log here

Google drive supports LinkSharing so you can use:

To generate required link.

thanks!! What about private links?

Not supported today.

If you are interested check Google API documentation if possible and how to do it.

Then you can have a look how similar feature was implemented for onedrive - --onedrive-link-password and maybe add something similar for Google drive remote.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.