1
0
Fork 0
mirror of https://github.com/kou029w/dotfiles.git synced 2025-01-18 16:07:59 +00:00

fix logseq sync

This commit is contained in:
Nebel 2022-11-09 01:10:26 +09:00
parent b8cf08e274
commit a2a06bf313

View file

@ -1,9 +1,7 @@
#!/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
git commit -m update
rsync -a --update ./ ~/storage/shared/logseq/