1
0
Fork 0
mirror of https://github.com/kou029w/dotfiles.git synced 2025-01-19 00:17:59 +00:00
dotfiles/termux/tasks/logseq-sync

9 lines
215 B
Bash
Executable file

#!/bin/sh
set -e
cd ~/logseq
rsync -a ~/storage/shared/logseq/journals/ journals/
rsync -a ~/storage/shared/logseq/pages/ pages/
git add --all
if git commit -m update; then
rsync -a ./ ~/storage/shared/logseq/
fi