2.1 KiB
2.1 KiB
📘 Rclone Command Cheat Sheet
⚙️ Configuration
Launch Configuration Wizard
rclone config
Show Current Config
rclone config show
List Remotes
rclone listremotes
📁 Basic File Operations
Copy Files
rclone copy source:path dest:path
Sync Files
rclone sync source:path dest:path
Move Files
rclone move source:path dest:path
Delete Files or Dirs
rclone delete remote:path
rclone purge remote:path # Delete entire path
Check Differences
rclone check source:path dest:path
🔍 Listing and Info
List Directory
rclone ls remote:path
rclone lsd remote:path # List only directories
rclone lsl remote:path # Long list with size and modification time
Tree View
rclone tree remote:path
File Size and Count
rclone size remote:path
📦 Mounting
Mount Remote (Linux/macOS)
rclone mount remote:path /mnt/mountpoint
Mount with Aggressive Caching (Windows)
rclone mount remote:path X: \
--vfs-cache-mode full \
--cache-dir C:\path\to\cache \
--vfs-cache-max-size 100G \
--vfs-read-chunk-size 512M \
--vfs-read-ahead 1G
🔁 Sync with Filtering
Include / Exclude Files
rclone sync source:path dest:path --exclude "*.tmp"
rclone sync source:path dest:path --include "*.jpg"
📄 Logging and Dry Runs
Verbose and Dry Run
rclone sync source:path dest:path -v --dry-run
Log to File
rclone sync source:path dest:path --log-file=rclone.log -v
📡 Remote Control (RC)
Start RC Server
rclone rcd --rc-web-gui
Use RC Command
rclone rc core/stats
rclone rc vfs/stats
🛠️ Miscellaneous
Serve Over HTTP/WebDAV/SFTP
rclone serve http remote:path
rclone serve webdav remote:path
rclone serve sftp remote:path
Crypt Operations
rclone config create secure crypt remote:path
✅ Tip: Always use
--dry-run
when testingsync
,move
, ordelete
to prevent accidental data loss.