rclone-cli
Skill này làm gì
Rclone là chương trình giúp bạn quản lý file trên các dịch vụ lưu trữ đám mây (như Google Drive, Dropbox) bằng terminal. Nó cho phép sao chép, di chuyển, đồng bộ và thậm chí gắn file đám mây như thư mục trên máy tính.
Khi nào nên dùng
- ✓Khi bạn cần di chuyển hoặc sao chép nhiều file lên hoặc xuống đám mây.
- ✓Để đồng bộ thư mục giữa máy tính và đám mây.
- ✓Khi bạn muốn truy cập file đám mây như thư mục bình thường trên máy tính.
Liên kết skill
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/rclone-cli/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Làm sao để sao chép toàn bộ file Google Drive của tôi sang Dropbox?”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Bạn gõ lệnh trong terminal. Rclone dùng các lệnh này để kết nối với dịch vụ đám mây và thực hiện thao tác bạn yêu cầu, như sao chép hoặc đồng bộ file.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
rclone — The Swiss Army Knife of Cloud Storage
When to Use
Use this skill when you need rclone command-line cloud storage manager reference and usage guide. Use this skill whenever the user mentions rclone, or any task involving terminal-based cloud file operations such as upload, download, sync, copy, move, mount, or remote management. Triggers on S3-compatible storage,...
Rclone is a command-line program to manage files on cloud storage. It is a feature-rich alternative to cloud vendors' web storage interfaces. Over 70 cloud storage products support rclone including S3 object stores, business & consumer file storage services, and standard transfer protocols.
Rclone has powerful cloud equivalents to the unix commands rsync, cp, mv, mount, ls, ncdu, tree, rm, and cat. It preserves timestamps and verifies checksums at all times. Transfers can be restarted from the last good file.
Official resources: rclone.org | Docs | Commands | Install | Forum | GitHub
Prerequisites
Before using rclone, verify it is installed:
# Check if rclone is installed
rclone --version
# If not found, run the install script:
# See scripts/install.sh in this skill's directory
sudo -v ; curl https://rclone.org/install.sh | sudo bash
# Or for beta version:
sudo -v ; curl https://rclone.org/install.sh | sudo bash -s beta
For offline/manual installation, use the bundled script at scripts/install.sh.
Security Warnings
IMPORTANT: Rclone is extremely powerful and can irreversibly modify or delete data on cloud storage. Pay close attention to the following safety guidelines:
- Always use
--dry-runfirst when runningsync,move,delete, orpurgecommands. This shows what would happen without actually doing it. - Use
--interactive/-iflag while learning rclone to avoid accidental data loss. It asks for confirmation before each destructive operation. - Never expose credentials in plain text on the command line. Use
rclone configto store credentials securely, or use environment variables. - Private keys and tokens (S3 secret keys, service account JSON, OAuth tokens) must never be committed to version control or logged. The config file
~/.config/rclone/rclone.confcontains sensitive data — protect it withchmod 600. rclone purgeignores all filters — it deletes everything under the specified path. Use with extreme caution.rclone syncmakes dest identical to source — files in dest that are not in source will be DELETED. Always verify with--dry-runfirst.- Remote control API (
--rc) should bind to localhost only by default. Exposing it without authentication (--rc-htpasswd) allows anyone to control your rclone instance. - Mount operations can cause data loss if the mount is interrupted during writes. Use
--vfs-cache-mode fullfor safer writes.
Quick Reference
Configuration
# Interactive configuration (recommended)
rclone config
# Show current config (redacts secrets by default)
rclone config show
# Show full config including secrets (DANGEROUS — do not share output)
rclone config show --redacted=false
# List configured remotes
rclone listremotes
# Create a remote non-interactively
rclone config create myremote s3 provider=AWS env_auth=true region=us-east-1
# Update existing remote
rclone config update myremote region=us-west-2
Basic Syntax
rclone subcommand [options] source:path dest:path
Source and destination paths use remote:path syntax. For local paths, just use /path/to/dir.
Core Commands
# List files
rclone ls remote:path # list all objects with size
rclone lsd remote:path # list directories
rclone lsl remote:path # list with size, modtime, path
rclone lsf remote:path # list in flexible format
rclone size remote:path # total size and object count
rclone tree remote:path # tree view
# Copy (does not delete files at destination)
rclone copy /local/path remote:path # local to remote
rclone copy remote:path /local/path # remote to local
rclone copy remote1:path remote2:path # remote to remote (server-side if possible)
…
Câu hỏi thường gặp
Dùng rclone có an toàn không?
Có, nhưng bạn cần cẩn thận. Rclone rất mạnh và có thể xóa file vĩnh viễn. Hãy luôn dùng lệnh thử (`--dry-run`) trước khi thao tác quan trọng và không bao giờ chia sẻ mật khẩu.
Làm sao để cài rclone?
Bạn có thể cài bằng một script đơn giản trong terminal. Trang rclone.org có hướng dẫn chi tiết cho các hệ điều hành khác nhau.
“remote:path” nghĩa là gì?
Đó là cách rclone xác định một vị trí trên đám mây. “remote” là tên bạn đặt cho dịch vụ đám mây (như “google drive” hoặc “dropbox”), còn “path” là đường dẫn đến thư mục trong dịch vụ đó.
Chi tiết
Mô tả gốc của tác giả
Rclone command-line cloud storage manager reference and usage guide. Use this skill whenever the user mentions rclone, or any task involving terminal-based cloud file operations such as upload, download, sync, copy, move, mount, or remote management.
Độ phổ biến
- Sao GitHub
- 48k
- Vị trí xếp hạng
- #5571
- Giấy phép
- MIT
- Cập nhật
- 15/10/2026
Bình luận
- …
Thêm skill từ kho mã này
00-andruia-consultant
48kGiúp agent của bạn bắt đầu hoặc cải thiện các dự án AI. Phân tích mã, gợi ý công cụ và lập kế hoạch hành động bằng tiếng Tây Ban Nha.
007
48kCho phép agent của bạn thực hiện kiểm toán bảo mật và mô hình hóa mối đe dọa. Hữu ích để bảo vệ dự án khỏi các cuộc tấn công và lỗ hổng.
10-andruia-skill-smith
48kGiúp agent của bạn tạo hoặc cải thiện các công cụ AI. Xác định cách công cụ hoạt động, viết tài liệu và kiểm tra cấu trúc.
20-andruia-niche-intelligence
48kGiúp agent của bạn tạo bản tóm tắt về một ngành cụ thể. Hữu ích để hiểu bối cảnh, quy tắc, cách người dùng tương tác và rủi ro của dự án.
Skill tương tự
diffs
394kGiúp agent của bạn tạo một diff có thể chia sẻ về các chỉnh sửa, dưới dạng liên kết xem hoặc file ảnh, thay vì một bản tóm tắt viết tay.
coding-agent
394kGiúp agent của bạn giao một việc lập trình lớn cho Codex, Claude Code hoặc OpenCode chạy nền, rồi theo dõi tiến độ của nó.
gh-issues
394kGiúp agent của bạn tìm issue trên GitHub, chọn những issue cần xử lý và mở pull request với bản sửa, kể cả theo dõi nhận xét đánh giá.