Skip to content

Instantly share code, notes, and snippets.

@mathisgauthey
Created August 5, 2022 09:33
Embed
What would you like to do?
Bash script to sync Obsidian with Git on android with Termux Widget
#!/bin/bash
cd storage/shared/LifeWiki
git pull && git add -A && git commit -a -m "android vault backup: `date +'%Y-%m-%d %H-%M-%S'`" && git pull