# Clone
git clone https://github.com/mrminning/obsidianbackups
# Add alias
alias obsidianbackups='python ~/projects/obsidianbackups/main.py'
# Add .env file
cd obsidianbackups
touch .env
Edit .env file
BAT=/usr/local/bin/bat
PATTERNS= <patterns of duplicated files>-duplicated
CONFLICT=yes # Handle conflicts
OBSIDIANVAULT="/path/to/obsidian/vault"
BACKUPDIR="/path/to/obsidianbackups"
Run with alias or this
python main.py