name: c-files description: Sync files to Google Drive, S3, Dropbox, OneDrive, and 70+ cloud providers using rclone. tags: [files, cloud, sync, backup, storage]
Cloud Files (rclone)
# List configured remotes
rclone listremotes
# List files in a remote
rclone ls remote:path
rclone lsd remote:path # directories only
# Copy files to/from cloud
rclone copy local/path remote:path
rclone copy remote:path local/path
# Sync (make remote match local — deletes extra files on remote)
rclone sync local/path remote:path
# Move files
rclone move local/path remote:path
# Interactive file explorer
rclone ncdu remote:path
# Mount cloud storage as local folder
rclone mount remote:path /mnt/cloud --daemon
# Check for differences
rclone check local/path remote:path
# Show storage usage
rclone about remote:
Setup
Run rclone config to add remotes. Supports:
- Google Drive, S3, Dropbox, OneDrive, Backblaze B2
- Azure Blob, SFTP, FTP, WebDAV
- 70+ providers total
Guidelines
rclone syncdeletes files on destination — userclone copyif unsure- Always confirm before sync operations that delete remote files
- Use
--dry-runflag to preview what would change - Use
rclone checkto verify files match without transferring