mirror of
https://github.com/kou029w/dotfiles.git
synced 2025-01-31 06:18:00 +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
|
git
|
||||||
iproute2
|
iproute2
|
||||||
jq
|
jq
|
||||||
make
|
|
||||||
mdbook
|
mdbook
|
||||||
nodejs-lts
|
nodejs-lts
|
||||||
openssh
|
openssh
|
||||||
rclone
|
rclone
|
||||||
rsync
|
|
||||||
sqlite
|
sqlite
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
cd ~/logseq
|
set -e
|
||||||
rsync -a ~/storage/shared/logseq/journals/ journals/
|
cd ~/storage/shared/logseq
|
||||||
rsync -a ~/storage/shared/logseq/pages/ pages/
|
|
||||||
git add --all
|
git add --all
|
||||||
git commit -m update
|
git commit -m update || :
|
||||||
rsync -a --update ./ ~/storage/shared/logseq/
|
. .githooks/post-commit
|
||||||
|
|
Loading…
Add table
Reference in a new issue