rclone_copyto命令

admin 2024年1月23日13:48:06系统文档评论1,494 次浏览阅读模式

versionIntroduced: v1.35

rclone copyto

从源头到目的地复制文件,跳过相同的文件.

简介

如果source:path是一个文件或目录,那么它就会把它复制到一个名为dest:path的文件或目录中。.

这可以用来将单个文件上传到其当前名称以外的地方。 如果源文件是一个目录,那么它的作用与copy命令完全一样。.

So

rclone copyto src dst

其中src和dst是rclone路径,可以是remote:path或/path/to/local或C:\windows\path/ifon\windows。

这将:

if src is file
    copy it to dst, overwriting an existing file if it exists
if src is directory
    copy it to dst, overwriting existing files if they exist
    see copy command for full details

这不会传输在src和dst上相同的文件,通过大小和修改时间或MD5SUM来测试。 它不会从目的地删除文件.

Note: 使用-P/-progress标志来查看实时传输统计数据

rclone copyto source:path dest:path [flags]

选项

  -h, --help   help for copyto

关于这里没有列出的全局选项,请参见全局标志页.

SEE ALSO

rclone – 显示rclone命令、标志和后台的帮助。.

相关文章
weinxin
我的微信
微信扫一扫
admin
  • 本文由 发表于 2024年1月23日13:48:06
  • 转载请务必保留本文链接:https://anyun.org/a/jishuguanzhu/xitongwendang/2024/0123/19260.html

发表评论

匿名网友 填写信息

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