ubuntucloudonedrivesymlinkcloud-storage

How to use OneDrive on Ubuntu with symbolic links


I'm syncing the folder /home/user/OneDrive. Inside the folder there is a symbolic link /home/user/OneDrive/A.

I want to sync the actual file that A is pointing to, instead of the symbolic link itself, so that I have a backup of A.

How do I achieve this using Ubuntu? I have googled this to no avail. Insync definitely doesn't work. Microsoft Support would have no idea.


Solution

  • This is possible using the rclone package with the --copy-links flag when running the rclone sync or rclone copy command.