What is the problem you are having with rclone?
running rclone link ./file
on a mounted file results in:
Failed to link: Local file system at /home/user/google-drive-rclone/file doesn't support public links
running rclone link gdrive:file
yields correct result (a public url to the file):
https://drive.google.com/open?id=<id>
However, it would be really convenient if rclone could recognize local file paths. For example, shell autocompletion works much faster when navigating mounted folders (cached) than when running rclone <command> gdrive:/<TAB>
.
Run the command 'rclone version' and share the full output of the command.
rclone v1.62.2
- os/version: arch "rolling" (64 bit)
- os/kernel: 6.2.8-arch1-1 (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.20.2
- go/linking: dynamic
- go/tags: none
I use Arch btw...
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
)
rclone link
The rclone config contents with secrets removed.
[gdrive]
type = drive
client_id = <client_id>
client_secret = <client_secret>
scope = drive
token = <token>
root_folder_id = <root_folder_id>
team_drive =
A log from the command with the -vv
flag
<7>DEBUG : rclone: Version "v1.62.2" starting with parameters ["rclone" "link" "google-drive-rclone/file" "-vv"]
<7>DEBUG : rclone: systemd logging support activated
<7>DEBUG : Creating backend with remote "google-drive-rclone/file"
<7>DEBUG : Using config file from "/home/user/.config/rclone/rclone.conf"
<7>DEBUG : fs cache: renaming cache item "google-drive-rclone/file" to
be canonical "/home/user/google-drive-rclone/file"
<7>DEBUG : 2 go routines active
Failed to link: Local file system at /home/user/google-drive-rclone/file doesn't support public links