Difference between revisions of "Android WebDAV Bi-directional sync with Termux and Rclone"

From Run Your Own
Jump to: navigation, search
(Prerequisites)
(Prerequisites)
Line 11: Line 11:
  
 
* Install Termux with F-Droid
 
* Install Termux with F-Droid
* Setup ssh access for Termux, read this https://wiki.termux.com/wiki/Remote_Access#Using_the_SSH_server
+
* Make your life easier and access Termux via ssh, read this https://wiki.termux.com/wiki/Remote_Access#Using_the_SSH_server
 
* From Termux
 
* From Termux
pkg update
 
 
  pkg upgrade
 
  pkg upgrade
 
  pkg install rclone
 
  pkg install rclone
 
* feel free to also install quality of life extras like <code>tmux</code>, <code>neovim</code>, etc
 
* feel free to also install quality of life extras like <code>tmux</code>, <code>neovim</code>, etc
*
+
* configure rclone to work with your WebDAV share,

Revision as of 23:40, 18 March 2024

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

pkg upgrade
pkg install rclone
  • feel free to also install quality of life extras like tmux, neovim, etc
  • configure rclone to work with your WebDAV share,