rclone_copyto命令

466次阅读
没有评论

共计 620 个字符,预计需要花费 2 分钟才能阅读完成。


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命令、标志和后台的帮助。.
正文完
 0
rclone中文站
版权声明:本站原创文章,由 rclone中文站 于2023-01-27发表,共计620字。
转载说明:除特殊说明外本站文章皆由CC-4.0协议发布,转载请注明出处。
评论(没有评论)