如何在Ubuntu上使用带符号链接的OneDrive。

huangapple go评论66阅读模式
英文:

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 syncrclone 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.

huangapple
  • 本文由 发表于 2020年1月3日 23:22:45
  • 转载请务必保留本文链接:https://go.coder-hub.com/59581104.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定