dotfiles/macos.local/flake/home/scripts/backup-org.sh.org
2025-03-17 16:43:46 -05:00

13 lines
204 B
Org Mode

#+title: Backup Org
Backup my =~org= directory.
#+begin_src sh
#!/bin/sh
dir="$(pwd)"
cd /Users/jjanzen/org/ || exit
git add -A
git commit -m 'backup'
git push
cd "$dir" || exit
#+end_src