英文:
How to use OneDrive on Ubuntu with symbolic links
问题
我正在同步文件夹 /home/user/OneDrive。在文件夹中有一个符号链接 /home/user/OneDrive/A。
我想要同步 A 指向的实际文件,而不是符号链接本身,以便我有 A 的备份。
如何在 Ubuntu 中实现这一目标?我已经搜索过,但没有找到解决方法。Insync 明显不起作用。微软支持也不会知道。
英文:
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.
答案1
得分: 0
这可以通过在运行rclone sync或rclone copy命令时使用--copy-links标志与rclone包一起实现。
英文:
This is possible using the rclone package with the --copy-links flag when running the rclone sync or rclone copy command.
答案2
得分: 0
OneDrive客户端的当前版本(v2.4.25-1+np1)在Linux上原生支持此功能。
英文:
The current version of OneDrive Client for Linux (v2.4.25-1+np1) does this natively.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。


评论