Android WebDAV Bi-directional sync with Termux and Rclone
Jump to navigation
Jump to search
The purpose of this fantastic documentation is to explain how to setup a very lightweight on-demand manual bi-directional sync between your Android device and a WebDAV share hosted somewhere. It's fast, and you trade appsolutionism for a cool shell script that you can execute from the comfort of your very own home launcher. This is all possible because of Termux, a terminal emulator application for Android that comes with its apt based package manager, and Rclone, a command-line program to manage files on way too many different cloud storage systems. Seriously it's ridiculous.
Warnings
- This documentation makes some assumptions regarding WebDAV and its configuration that are described there.
- Bi-Directional sync in Rclone is considered experimental at time of writing. See https://rclone.org/bisync/ for more info.
- This is not a Termux or Rclone tutorial, RTFM or GTFO :)
The Setup
Prerequisites
- Install Termux with F-Droid
- Setup ssh access for Termux, read this https://wiki.termux.com/wiki/Remote_Access#Using_the_SSH_server
- From Termux
pkg update pkg upgrade pkg install rclone
- feel free to also install quality of life extras like
tmux
,neovim
, etc