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:
parent
b8cf08e274
commit
a2a06bf313
1 changed files with 2 additions and 4 deletions
|
@ -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/
|
||||
|
|
Loading…
Add table
Reference in a new issue