mirror of
https://github.com/kou029w/dotfiles.git
synced 2025-01-18 16:07:59 +00:00
no use rsync
This commit is contained in:
parent
a2a06bf313
commit
bfd2a196ef
2 changed files with 4 additions and 7 deletions
|
@ -4,11 +4,9 @@ gh
|
|||
git
|
||||
iproute2
|
||||
jq
|
||||
make
|
||||
mdbook
|
||||
nodejs-lts
|
||||
openssh
|
||||
rclone
|
||||
rsync
|
||||
sqlite
|
||||
)
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
#!/bin/sh
|
||||
cd ~/logseq
|
||||
rsync -a ~/storage/shared/logseq/journals/ journals/
|
||||
rsync -a ~/storage/shared/logseq/pages/ pages/
|
||||
set -e
|
||||
cd ~/storage/shared/logseq
|
||||
git add --all
|
||||
git commit -m update
|
||||
rsync -a --update ./ ~/storage/shared/logseq/
|
||||
git commit -m update || :
|
||||
. .githooks/post-commit
|
||||
|
|
Loading…
Add table
Reference in a new issue