1
0
Fork 0
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:
Nebel 2022-11-12 16:52:57 +09:00
parent a2a06bf313
commit bfd2a196ef
2 changed files with 4 additions and 7 deletions

View file

@ -4,11 +4,9 @@ gh
git
iproute2
jq
make
mdbook
nodejs-lts
openssh
rclone
rsync
sqlite
)

View file

@ -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