rclone

Command Reference · 2025
Setup & Config
Interactive config wizard
rclone config
Show all configured remotes
rclone listremotes
Show path to config file
rclone config file
Test connection to remote
rclone about remote:
Check rclone version
rclone version
Copy & Move
Copy files (skip existing)
rclone copy src: dst:
Move files to destination
rclone move src: dst:
Copy a single file
rclone copyto src:file dst:file
Copy with progress display
rclone copy src: dst: -P
Copy local → Google Drive
rclone copy /local/path gdrive:backup
Sync
Sync src → dst (deletes extra in dst)
rclone sync src: dst:
Dry run — preview changes only
rclone sync src: dst: --dry-run
Bisync two directories (two-way)
rclone bisync src: dst:
Sync, keep deleted files in trash
rclone sync src: dst: --drive-use-trash
Limit bandwidth during sync
rclone sync src: dst: --bwlimit 10M
List Files
List files with sizes
rclone ls remote:
List dirs and files (like ls -la)
rclone lsl remote:
List directories only
rclone lsd remote:
List as JSON
rclone lsjson remote:
Get total size of path
rclone size remote:path
Mount
Mount remote as filesystem
rclone mount remote: /mnt/point
Mount in background (daemon)
rclone mount remote: /mnt/point --daemon
Unmount (Linux/macOS)
fusermount -u /mnt/point
Mount with VFS cache (recommended)
rclone mount remote: /mnt --vfs-cache-mode writes
Delete & Clean
Delete all files in a path
rclone delete remote:path
Delete a directory and its contents
rclone purge remote:path
Remove empty directories
rclone rmdirs remote:path
Empty remote trash
rclone cleanup remote:
Filters
Include only matching files
rclone copy src: dst: --include "*.jpg"
Exclude matching files
rclone sync src: dst: --exclude "*.tmp"
Skip files older than N days
rclone copy src: dst: --max-age 30d
Max file size
rclone copy src: dst: --max-size 100M
Use a filter rules file
rclone sync src: dst: --filter-from rules.txt
🔒
Encryption (crypt)
Create encrypted remote (via config)
rclone config # type: crypt
Copy encrypted to local (decrypts)
rclone copy cryptremote: /local
Check encryption config
rclone cryptcheck remote: cryptremote:
Useful Flags
Show live progress
-P / --progress
Verbose output (use -vv for more)
-v / -vv
Preview without making changes
--dry-run
Number of file transfers in parallel
--transfers 8
Number of directory listing threads
--checkers 16
Retry on error (default 3)
--retries 5
Limit transfer speed
--bwlimit 5M
Check files using MD5 hash
--checksum
Don't delete on destination
--immutable
Log output to file
--log-file rclone.log
No-traverse (faster for few files)
--no-traverse
Use specific config file
--config /path/to/rclone.conf
Check & Debug
Check src and dst match
rclone check src: dst:
Hash files for verification
rclone hashsum MD5 remote:path
Show dedupe conflicts
rclone dedupe remote:path
Run ncdu-style disk usage explorer
rclone ncdu remote:
Serve
Serve remote as HTTP
rclone serve http remote:
Serve as WebDAV (e.g. for apps)
rclone serve webdav remote:
Serve as SFTP server
rclone serve sftp remote:
Specify host and port
rclone serve http remote: --addr :8080
Copied!