rclone/backend
Nick Craig-Wood 64cf9ac911 local: fix /path/to/file.rclonelink when -l/--links is in use
Before this change using /path/to/file.rclonelink would not find the
file when using -l/--links.

This fixes the problem by doing another stat call if the file wasn't
found without the suffix if -l/--links is in use.

It will also give an error if you refer to a symlink without its
suffix which will not work because the limit to a single file
filtering will be using the file name without the .rclonelink suffix.

    need ".rclonelink" suffix to refer to symlink when using -l/--links

Before this change it would use the symlink as a directory which then
would fail when listed.

See: #6855
2023-04-04 10:22:00 +01:00
..
alias build: add package comments to silence revive linter 2022-08-28 13:43:51 +02:00
all Add a native backend for oracle object storage - fixes #6299 2022-10-13 13:04:56 +01:00
amazonclouddrive build: reformat comments to pass go1.19 vet 2022-08-05 16:35:41 +01:00
azureblob azureblob: remove unused code (fixes issue reported by the unused linter) 2023-03-26 14:28:15 +02:00
b2 accounting: Make checkers show what they are doing 2023-03-01 11:10:38 +00:00
box Use jwt-go (golang-jwt) instead of deprecated jws (x/oauth2/jws) 2023-03-26 19:20:50 +02:00
cache cache: remove unused code (fixes issue reported by the unused linter) 2023-03-26 14:28:15 +02:00
chunker rcat: preserve metadata when Copy falls back to Rcat 2022-11-10 12:04:35 +00:00
combine backend: fix typos found by codespell 2023-03-24 11:34:14 +00:00
compress Replace deprecated ioutil 2022-11-07 11:41:47 +00:00
crypt crypt: reduce allocations 2023-03-26 14:28:15 +02:00
drive drive: add env_auth to drive provider 2023-03-24 11:11:21 +00:00
dropbox dropbox: remove unused code (fixes issue reported by the unused linter) 2023-03-26 14:28:15 +02:00
fichier backend: fix typos found by codespell 2023-03-24 11:34:14 +00:00
filefabric Replace deprecated ioutil 2022-11-07 11:41:47 +00:00
ftp ftp: fix 426 errors on downloads with vsftpd 2023-03-15 18:09:29 +00:00
googlecloudstorage googlecloudstorage: added gcs requester pays 2023-03-16 17:13:37 +00:00
googlephotos fs: move operations.NewOverrideRemote to fs.NewOverrideRemote 2022-11-21 08:02:09 +00:00
hasher accounting: Make checkers show what they are doing 2023-03-01 11:10:38 +00:00
hdfs backend: fix repeated words typos 2023-03-25 09:31:36 +01:00
hidrive hidrive: remove unused code (fixes issue reported by the unused linter) 2023-03-26 14:28:15 +02:00
http test: replace defer cleanup with `t.Cleanup` 2022-12-09 14:38:05 +00:00
internetarchive all: fix spelling across the project 2022-08-30 11:16:26 +02:00
jottacloud backend: fix typos found by codespell 2023-03-24 11:34:14 +00:00
koofr all: fix spelling across the project 2022-08-30 11:16:26 +02:00
local local: fix /path/to/file.rclonelink when -l/--links is in use 2023-04-04 10:22:00 +01:00
mailru mailru: allow timestamps to be before the epoch 1970-01-01 2022-11-10 11:27:01 +00:00
mega backend: fix typos found by codespell 2023-03-24 20:42:45 +00:00
memory Replace deprecated ioutil 2022-11-07 11:41:47 +00:00
netstorage netstorage: ignore false positive from the staticcheck linter regarding header name not being canonical 2023-03-26 14:28:15 +02:00
onedrive onedrive: report any list errors during cleanup 2023-03-26 14:28:15 +02:00
opendrive build: add package comments to silence revive linter 2022-08-28 13:43:51 +02:00
oracleobjectstorage oracleobjectstorage: remove empty branch (fixes issue reported by the staticcheck linter) 2023-03-26 14:28:15 +02:00
pcloud all: fix spelling across the project 2022-08-30 11:16:26 +02:00
premiumizeme build: reformat comments to pass go1.19 vet 2022-08-05 16:35:41 +01:00
putio build: add package comments to silence revive linter 2022-08-28 13:43:51 +02:00
qingstor build: add package comments to silence revive linter 2022-08-28 13:43:51 +02:00
s3 backend: fix typos found by codespell 2023-03-24 11:34:14 +00:00
seafile seafile: remove unused code for legacy API v2 (fixes issue reported by the unused linter) 2023-03-26 14:28:15 +02:00
sftp sftp: add --sftp-host-key-algorithms to allow specifying SSH host key algorithms 2023-03-30 18:00:54 +01:00
sharefile Replace deprecated ioutil 2022-11-07 11:41:47 +00:00
sia build: add package comments to silence revive linter 2022-08-28 13:43:51 +02:00
smb smb: code cleanup to avoid overwriting ctx before first use (fixes issue reported by the staticcheck linter) 2023-03-26 14:28:15 +02:00
storj storj: update satellite urls and labels 2023-02-06 13:18:15 +00:00
sugarsync Replace deprecated ioutil 2022-11-07 11:41:47 +00:00
swift swift: remove unused code (fixes issue reported by the unused linter) 2023-03-26 14:28:15 +02:00
union union: remove unused code (fixes issue reported by the unused linter) 2023-03-26 14:28:15 +02:00
uptobox uptobox: fix improper regex 2023-03-16 17:12:27 +00:00
webdav webdav: make pacer minSleep configurable 2023-03-27 15:30:02 +02:00
yandex build: add package comments to silence revive linter 2022-08-28 13:43:51 +02:00
zoho zoho: remove unused code (fixes issue reported by the unused linter) 2023-03-26 14:28:15 +02:00