Can symlinks be copied individually to the target?

I know you can rclone copyto -l remote:/tmp/a/ /tmp/b/ to restore symlinks

I think this may restore some files or directories that I don’t want to restore.

So I tried a separate recovery of the symbolic link file xx.rclonelink, the code is as follows

rclone copyto --links backup:testRclone.rclonelink "C:\Users\Name\Downloads\Rclone" -vv

But this doesn't work. Can I copy the symbolic link file to the target separately?

I solved this problem using the following code which will only include symlink files for recovery

rclone copyto --links backup: "C:\Users\Name\Downloads\Rclone" --include "testRclone.rclonelink"

1 Like

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