Rclone
Rclone
rclone可以方便对共享存储进行读取,挂载等操作,使用简单
安装
debian
|
|
centos
|
|
配置文件
linux位于
|
|
可以通过rclone config进行交互操作
rclone多个盘cygwin下会有问题
conf放到默认的.config/rclone/rclone.conf即可
rclone如何保护rclone.conf
https://rclone.org/docs/#configuration-encryption
建议方法 rclone config )s 输入对应的密码即可
然后再检查
|
|
后续调用的时候
|
|
rclone mount
|
|
如果不同端口加–rc-addr就好了 rclone refresh
|
|
Fatal error: failed to mount FUSE fs: fusermount: exec: "fusermount": executable file not found in $PATH
|
|
mount以后其他人或者nginx无法读取
|
|
s3cmd 配置滚动
from https://clouddocs.web.cern.ch/object_store/s3cmd.html
|
|
rclone通过proxy挂载
|
|
rclone gcp报错2024/02/22 02:57:10 Failed to copy: googleapi: Error 400: Cannot insert legacy ACL for an object when uniform bucket-level access is enabled. Read more at https://cloud.google.com/storage/docs/uniform-bucket-level-access, invalid
增加参数–gcs-bucket-policy-only
|
|
开机自启动
配置成service并且设置成enable
|
|
rclone找到小于30m的文件执行删除
注意删除是危险操作
|
|