1
0
Fork 0
mirror of https://github.com/kou029w/dotfiles.git synced 2025-01-31 22:38:00 +00:00

Compare commits

...

2 commits

Author SHA1 Message Date
bfd2a196ef no use rsync 2022-11-12 16:55:16 +09:00
a2a06bf313 fix logseq sync 2022-11-09 01:10:26 +09:00
2 changed files with 3 additions and 8 deletions

View file

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

View file

@ -1,9 +1,6 @@
#!/bin/sh #!/bin/sh
set -e set -e
cd ~/logseq cd ~/storage/shared/logseq
rsync -a ~/storage/shared/logseq/journals/ journals/
rsync -a ~/storage/shared/logseq/pages/ pages/
git add --all git add --all
if git commit -m update; then git commit -m update || :
rsync -a ./ ~/storage/shared/logseq/ . .githooks/post-commit
fi