鱼皮AI导航
鱼皮AI导航
  • 主页
  • 社区
  • AI工具
  • AI知识库
  • AI提示词
  • MCP
  • Skills
  • AI学习资源
  • AI资讯
  • GitHub开源
登录/注册

rclone

实现跨云存储的文件上传与同步,支持将本地文件或目录传输至 S3、R2、B2、Google Drive 等远程服务,适用于备份、分发大文件及多云环境下的数据一致性管理。

效率工具开发运维
访问 GitHub
文档Skills.MD
name
rclone
description
Upload, sync, and manage files across cloud storage providers using rclone. Use when uploading files (images, videos, documents) to S3, Cloudflare R2, Backblaze B2, Google Drive, Dropbox, or any S3-compatible storage. Triggers on "upload to S3", "sync to cloud", "rclone", "backup files", "upload video/image to bucket", or requests to transfer files to remote storage.

rclone File Transfer Skill

Setup Check (Always Run First)

Before any rclone operation, verify installation and configuration:

▼
bash
复制代码
# Check if rclone is installed command -v rclone >/dev/null 2>&1 && echo "rclone installed: $(rclone version | head -1)" || echo "NOT INSTALLED" # List configured remotes rclone listremotes 2>/dev/null || echo "NO REMOTES CONFIGURED"

If rclone is NOT installed

Guide the user to install:

▼
bash
复制代码
# macOS brew install rclone # Linux (script install) curl https://rclone.org/install.sh | sudo bash # Or via package manager sudo apt install rclone # Debian/Ubuntu sudo dnf install rclone # Fedora

If NO remotes are configured

Walk the user through interactive configuration:

▼
bash
复制代码
rclone config

Common provider setup quick reference:

ProviderTypeKey Settings
AWS S3s3access_key_id, secret_access_key, region
Cloudflare R2s3access_key_id, secret_access_key, endpoint (account_id.r2.cloudflarestorage.com)
Backblaze B2b2account (keyID), key (applicationKey)
DigitalOcean Spacess3access_key_id, secret_access_key, endpoint (region.digitaloceanspaces.com)
Google DrivedriveOAuth flow (opens browser)
DropboxdropboxOAuth flow (opens browser)

Example: Configure Cloudflare R2

▼
bash
复制代码
rclone config create r2 s3 \ provider=Cloudflare \ access_key_id=YOUR_ACCESS_KEY \ secret_access_key=YOUR_SECRET_KEY \ endpoint=ACCOUNT_ID.r2.cloudflarestorage.com \ acl=private

Example: Configure AWS S3

▼
bash
复制代码
rclone config create aws s3 \ provider=AWS \ access_key_id=YOUR_ACCESS_KEY \ secret_access_key=YOUR_SECRET_KEY \ region=us-east-1

Common Operations

Upload single file

▼
bash
复制代码
rclone copy /path/to/file.mp4 remote:bucket/path/ --progress

Upload directory

▼
bash
复制代码
rclone copy /path/to/folder remote:bucket/folder/ --progress

Sync directory (mirror, deletes removed files)

▼
bash
复制代码
rclone sync /local/path remote:bucket/path/ --progress

List remote contents

▼
bash
复制代码
rclone ls remote:bucket/ rclone lsd remote:bucket/ # directories only

Check what would be transferred (dry run)

▼
bash
复制代码
rclone copy /path remote:bucket/ --dry-run

Useful Flags

FlagPurpose
--progressShow transfer progress
--dry-runPreview without transferring
-vVerbose output
--transfers=NParallel transfers (default 4)
--bwlimit=RATEBandwidth limit (e.g., 10M)
--checksumCompare by checksum, not size/time
--exclude="*.tmp"Exclude patterns
--include="*.mp4"Include only matching
--min-size=SIZESkip files smaller than SIZE
--max-size=SIZESkip files larger than SIZE

Large File Uploads

For videos and large files, use chunked uploads:

▼
bash
复制代码
# S3 multipart upload (automatic for >200MB) rclone copy large_video.mp4 remote:bucket/ --s3-chunk-size=64M --progress # Resume interrupted transfers rclone copy /path remote:bucket/ --progress --retries=5

Verify Upload

▼
bash
复制代码
# Check file exists and matches rclone check /local/file remote:bucket/file # Get file info rclone lsl remote:bucket/path/to/file

Troubleshooting

▼
bash
复制代码
# Test connection rclone lsd remote: # Debug connection issues rclone lsd remote: -vv # Check config rclone config show remote
效率工具
开发运维

快捷安装

复制到终端去安装 Skill

npxskillsaddEveryInc/compound-engineering-plugin--skill"rclone"
站长:程序员鱼皮 老鱼简历 商务合作 增值电信业务经营许可证
2026 鱼皮AI导航 | 沪ICP备19026706号-6
站长:程序员鱼皮 老鱼简历 商务合作 增值电信业务经营许可证
2026 鱼皮AI导航 | 沪ICP备19026706号-6
🔥热门工具
朱雀AI检测朱雀AI检测
朱雀AI检测助手朱雀AI检测助手
LovartLovart
老鱼简历老鱼简历
WritePass官网WritePass官网
面多多面多多
CursorCursor
星月写作星月写作
朱雀AI检测助手朱雀AI检测助手
零感AI零感AI
Skills 推荐
retrieving-developer-knowledge
retrieving-developer-knowledge 用于搜索、获取和整合 Google 官方开发者文档,覆盖 Google Cloud、AI/Gemini、Android、Chrome、Web、Flutter、Go、Firebase 等平台,适用于查询 gcloud CLI 命令、API 语法、IAM 权限或架构对比等场景。
diff-intake
diff-intake 读取 PR 或分支差异,生成结构化 YAML 变更摘要,用于下游 analytics instrumentation 技能。适用于用户提交 PR 链接、分支对比或原始 diff 后需理解变更内容、评估分析覆盖或启动埋点流程的场景。
load-balancer-configurator
根据用户需求自动生成各类负载均衡器的生产级配置,覆盖 ALB、NLB、Nginx 和 HAProxy 等主流类型,适配不同协议、端口、健康检查及后端服务拓扑,支持直接集成到基础设施即代码流程中。
webapp-testing
提供本地 Web 应用的端到端测试能力,支持页面导航、元素交互、表单填写、动态等待、断言验证、截图捕获、浏览器日志收集及网络请求拦截,适用于前端功能验证与 UI 行为调试。
definition-of-done-generator
自动生成项目完成标准的规范定义与配置文件,提供符合企业级工作流要求的最佳实践指导,输出可直接投入生产环境的代码和验证结果,适用于需要标准化流程审批、合规审查及跨系统集成的复杂项目管理场景。