webdav 文件夹上的 rsync 不起作用

标签 rsync webdav

我试图在 webdav 文件夹(box 帐户)上同步我 PC 上本地文件夹的 pdf 文件。我安装了那个文件夹:davs://dav.box.com/dav。我在 ubuntu 14.04

rsync -avu --include="*/" --include="*.pdf" --exclude="*" L2/ /run/user/1000/gvfs/dav:host=dav.box.com,ssl=true/dav/Cours/ 

上面的 rsync 命令在 webdav 文件夹上创建了目录树,但它没有复制任何文件。

我有很多:

rsync: failed to set times on "/run/user/1000/gvfs/dav:host=dav.box.com,ssl=true/dav/Cours/SymCristalline": Operation not supported (95)
rsync: failed to set times on "/run/user/1000/gvfs/dav:host=dav.box.com,ssl=true/dav/Cours/SymCristalline/Cours": Operation not supported (95)
...

然后我得到了我想要同步的文件列表。

SymCristalline/
SymCristalline/TD_2013.pdf
SymCristalline/blanche.pdf
SymCristalline/inter_tables_of_crist__vol_a.pdf
SymCristalline/inter_tables_of_crist__vol_d.pdf
....

然后我得到了很多

rsync: mkstemp "/run/user/1000/gvfs/dav:host=dav.box.com,ssl=true/dav/Cours/SymCristalline/.TD_2013.pdf.tgEY8n" failed: Operation not supported (95)
rsync: mkstemp "/run/user/1000/gvfs/dav:host=dav.box.com,ssl=true/dav/Cours/SymCristalline/.blanche.pdf.tZ2XyK" failed: Operation not supported (95)
....

最后:

sent 93,577,889 bytes  received 38,505 bytes  20,577.29 bytes/sec
total size is 93,541,542  speedup is 1.00
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1183) [sender=3.1.0]

最后,在webdav文件夹中,有所有目录,但没有任何文件。

最佳答案

这可能是由于存档模式 (-a) 造成的,因为 WebDAV 协议(protocol)不支持更新文件权限。

关于webdav 文件夹上的 rsync 不起作用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25922436/

相关文章:

rsync - 我可以在 rsync 中使用修改后的日期和时间作为后缀吗?

centos - 使用 Centos 7 的 Vagrant 上的 rsync 错误

java - Jackrabbit WebDAV 同步示例?

通过 WebDAV 进行 git http 推送 - 如果我的用户名中包含 "@"怎么办?

java - 实现 VFS 的想法

.net - SharePoint 上的 WebDav .NET 库将操作复制/移动到不同的网站集导致 409

file - 使用 rsync 进行双向同步

mysql myisam datetime 5.6.10 到 5.5.10 表损坏

rsync - 使用非 root 登录的 lsync 配置

webdav - 鹦鹉螺脚本: $NAUTILUS_SCRIPT_SELECTED_FILE_PATHS empty for WebDAV folders