Skillpedia
برمجة عامة48k · #5571

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

انسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.

طريقة الاستخدام

أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.

رسالة جاهزة للصق

استخدم هذه المهارة لمساعدتي: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/rclone-cli/SKILL.md اقرأ ملف SKILL.md في هذا الرابط ونفّذ تعليماته لمهمتي.
تريد أن يجد الذكاء الاصطناعي مهارات مثل هذه بنفسه؟ثبّت خادم Skillpedia MCP المجاني: سطر واحد، ويبحث في 15,000+ مهارة قبل كل مهمة.ثبّته في دقيقة واحدة →

مثال على ما تطلبه من الذكاء الاصطناعي

“كيف أنسخ كل ملفات Google Drive الخاصة بي إلى Dropbox؟”

5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.

كيف تعمل

تكتب أوامر في الطرفية. يستخدم 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-run first when running sync, move, delete, or purge commands. This shows what would happen without actually doing it.
  • Use --interactive / -i flag 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 config to 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.conf contains sensitive data — protect it with chmod 600.
  • rclone purge ignores all filters — it deletes everything under the specified path. Use with extreme caution.
  • rclone sync makes dest identical to source — files in dest that are not in source will be DELETED. Always verify with --dry-run first.
  • 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 full for 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 على تعليمات مفصلة لأنظمة التشغيل المختلفة.

ماذا يعني `remote:path`؟

هي الطريقة التي يحدد بها rclone موقعًا في السحابة. «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.

repo: sickn33/agentic-awesome-skills

الشعبية

نجوم GitHub
48k
الترتيب
#5571
الترخيص
MIT
آخر تحديث
15‏/10‏/2026

هل هذه المهارة مفيدة؟

0

سجّل الدخول للتصويت.

التعليقات

  • …

المزيد من المهارات من هذا المستودع

مهارات مشابهة