rclone

CLI program to copy/sync/move files and directories to and from many cloud services. More information: <https://rclone.org>.

Install

All systems
curl cmd.cat/rclone.sh
Debian Debian
apt-get install rclone
Ubuntu
apt-get install rclone
Arch Arch Linux
pacman -S rclone
image/svg+xml Kali Linux
apt-get install rclone
Fedora
dnf install rclone
Windows (WSL2)
sudo apt-get update sudo apt-get install rclone
OS X
brew install rclone
Raspbian
apt-get install rclone

CLI program to copy/sync/move files and directories to and from many cloud services. More information: <https://rclone.org>.

  • List contents of a directory on an rclone remote:
    rclone lsf remote_name:path/to/directory
  • Copy file or directory from local source to remote destination:
    rclone copy path/to/source_file_or_directory remote_name:path/to/destination_directory
  • Copy file or directory from remote source to local destination:
    rclone copy remote_name:path/to/source_file_or_directory path/to/destination_directory
  • Sync local source to remote destination, changing the destination only:
    rclone sync path/to/file_or_directory remote_name:path/to/directory
  • Move file or directory from local source to remote destination:
    rclone move path/to/file_or_directory remote_name:path/to/directory
  • Delete remote file or directory (use `--dry-run` to test, remove it to actually delete):
    rclone --dry-run delete remote_name:path/to/file_or_directory
  • Mount rclone remote (experimental):
    rclone mount remote_name:path/to/directory path/to/mount_point
  • Unmount rclone remote if CTRL-C fails (experimental):
    fusermount -u path/to/mount_point

© tl;dr; authors and contributors