What is the problem you are having with rclone?
I'm on a Mac using rclone sync --links. In two directories there are aliases that point to a directory in another location. When rclone runs, the first alias fails to copy over and generates this error:
2022/07/28 15:36:03 ERROR : Active efforts/Conferences or presentations: Failed to copy: open /Users/jpollock/Scripts/rsync/vdrive/NCCRC/Active efforts/Conferences or presentations: permission denied
For the second alias, rclone follows the aliases and copies the aliases' target directories to the remote server, which it shouldn't be doing if I'm specifying --links. Then, if I run rclone --links again, I get this error:
2022/07/28 10:01:32 ERROR : Active efforts/Fundraising-related: Failed to copy: open /Users/jpollock/Scripts/rsync/vdrive/NCCRC/Active efforts/Fundraising-related: is a directory
The really weird thing is that I have a ton of aliases in the source folder, but it's only doing this with these two aliases; other aliases copy over properly. I tried deleting and re-creating the aliases, and the problem persists.
Just to anticipate the question: there is nothing else in the same directory as this alias that has the same name. A full ls -al of the directory shows no temp files or anything else that would explain this behavior.
I tried running with -vv, and the logfile doesn't actually show the target directory being copied over even though that happens, which I also can't explain. On my last run I deleted the mistakely-copied target directly from the destination server, then re-ran rclone, and the target directory was back on the destination server gain.
Run the command 'rclone version' and share the full output of the command.
rclone v1.58.1
- os/version: darwin 12.4 (64 bit)
- os/kernel: 21.5.0 (x86_64)
- os/type: darwin
- os/arch: amd64
- go/version: go1.18.1
- go/linking: dynamic
- go/tags: none
Which cloud storage system are you using? (eg Google Drive)
Windows fileserver mounted as an AFP volume.
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
/usr/local/bin/rclone" -vv sync /Users/jpollock/Documents/Job-related/PJC/RTC stuff/NCCRC/ /Users/jpollock/Scripts/rsync/vdrive/NCCRC/ --exclude MariaFolder/ -exclude AmandaFolder/ --links
The rclone config contents with secrets removed.
using the defaults; no config file
A log from the command with the -vv
flag
I've pasted the only relevant entries avove.