How to Sync Obsidian Notes Between Linux and Android Using Git and Termux
A developer who had been using Obsidian with Git on a Linux computer for three years sought a free way to extend the setup to Android, without paying for the official sync subscription or relying on cloud storage. The solution involved installing Termux, a terminal emulator for Android that requires no rooting, and using it to install Git and clone the existing Obsidian notes repository onto the phone. Once the repository was cloned, Obsidian on Android was pointed to that local folder as a vault, replicating the desktop setup. To keep both devices in sync and avoid conflicts, the author recommends creating a shell script in Termux that pulls remote changes, then commits and pushes any local edits with a single command. This approach offers a cost-free alternative for users comfortable with Git who want seamless note synchronisation across devices.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.


Discussion (0)
Log in to join the discussion and vote.
Log in