Don't copy symlinks but, instead, create a txt file with the path of the symlink

It makes sense we can't copy symlinks into cloud providers.

Is it possible to, on the cloud, create a text file where the symlink would be and put the destination of the symlink as the contents of the text file?

So if /file is a symlink to /some/other/file then in the cloud provider /file would be a text file that contains /some/other/file.

This way vital information about files, especially for system backups, is still preserved.

Does that make sense?

That is pretty much exactly what the -l or --link option does.

-l, --links   Translate symlinks to/from regular files with a '.rclonelink' extension

Oh. Does it also write the path to the destination in the file?

Yes it does.

It will create symlinks on reading them back also.

1 Like

OMG. I didn't think I could love you more than I already do.

1 Like

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