rclone-cli
できること
Rcloneは、ターミナルを使ってGoogle DriveやDropboxなどのクラウドストレージサービス上のファイルを管理するためのプログラムです。ファイルのコピー、移動、同期ができるほか、クラウド上のファイルをパソコン内のフォルダのように扱えるようにマウントすることもできます。
使う場面
- ✓多くのファイルをクラウドへ、またはクラウドから移動・コピーしたいとき。
- ✓パソコンとクラウドの間でフォルダを同期したいとき。
- ✓クラウド上のファイルを、パソコン内の通常のフォルダのように利用したいとき。
スキルのリンク
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/rclone-cli/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“Google Driveのファイルをすべて、Dropboxにコピーするにはどうすればよいですか?”
毎週5つの新しいスキル。1分で読めます。
仕組み
ターミナルでコマンドを入力します。Rcloneはそのコマンドを使ってクラウドサービスに接続し、コピーや同期など、指定された操作を実行します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
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)
…
よくある質問
rcloneは安全に使えますか?
はい。ただし注意は必要です。Rcloneは非常に強力で、ファイルを完全に削除することもあります。重要な操作を行う前には、必ずテスト用のコマンド(`--dry-run`)を使い、パスワードは決して他人に教えないでください。
rcloneはどのようにインストールしますか?
ターミナルで簡単なスクリプトを使ってインストールできます。rclone.orgには、各OS向けの詳しい手順があります。
「remote:path」とはどういう意味ですか?
クラウド上の場所を指定する方法です。「remote」はクラウドサービスに付けた名前(「google drive」や「dropbox」など)、「path」はそのサービス内のパス(フォルダなど)を表します。
詳細
作者による元の説明
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.
人気
- GitHubのスター
- 48k
- ランキング
- #5571
- ライセンス
- MIT
- 更新日
- 2026/10/15
コメント
- …
このリポジトリの他のスキル
00-andruia-consultant
48kエージェントがAIプロジェクトの立ち上げや改善を支援します。コードを分析し、ツールを提案し、スペイン語で行動計画を作成します。
007
48kエージェントがセキュリティ監査と脅威モデリングを行えるようにします。攻撃や脆弱性からプロジェクトを守るのに役立ちます。
10-andruia-skill-smith
48kエージェントがAIツールの作成や改善を支援します。ツールの動作を定義し、ドキュメントを書き、構造を検証します。
20-andruia-niche-intelligence
48kエージェントが特定の業界に関する要約を作成できるようにします。信頼できる情報源を使って、プロジェクトの背景、ルール、利用パターン、リスクを把握するのに役立ちます。
似ているスキル
diffs
394k編集内容の実際の共有可能な差分を、手書きの要約ではなく、ビューアーのリンクや画像ファイルとして作成するようエージェントを支援します。
coding-agent
394kCodex、Claude Code、OpenCodeに大きめのコーディング作業をバックグラウンドのワーカーとして渡し、その進捗を確認するようエージェントを支援します。
gh-issues
394kGitHubのイシューを探し、取り組むものを選び、修正を含むプルリクエストを開くようエージェントを支援します。レビューコメントへの対応も含みます。