About
rclone moves and synchronises files between local storage and dozens of cloud services. Each provider is a remote you configure once. Use it to back a folder up, keep two locations in step, or mount a remote.
Install it
pkg install rclone
Run this inside Termux. If the package is already present, pkg will say so and
do nothing.
Commands worth knowing
6 of the invocations you will actually reach for. Tap the copy button to put one on your clipboard.
rclone config Run the interactive setup to add a cloud remote and its credentials. rclone copy ~/Documents remote:backup Upload a local folder to a remote without deleting anything already there. rclone sync ~/Pictures remote:photos Make a remote folder match a local one exactly. Files gone locally are removed at the destination. rclone ls remote:backup List the files in a remote folder to confirm a backup landed. rclone check ~/Documents remote:backup Compare a local folder with a remote one and report differences. A good pre-flight before a large sync. rclone mount remote: /mnt/remote Expose a remote as a normal filesystem. Other apps read and write it directly. Worked example
Run rclone copy ~/Documents remote:backup and this is what you should see.
$ rclone copy ~/Documents remote:backup
Transferred: 3.2 MiB / 3.2 MiB, 100%, 1.1 MiB/s
Checks: 12 / 12, 100%
Deleted: 0
Elapsed time: 2.9s Developed by
Nick Craig-Wood · released under MIT.