Skip html exports when syncinc wikis
This commit is contained in:
parent
88b23fa9db
commit
53b8374c75
1 changed files with 2 additions and 1 deletions
|
@ -2,10 +2,11 @@
|
||||||
|
|
||||||
for wiki in ~/vimwiki/*
|
for wiki in ~/vimwiki/*
|
||||||
do
|
do
|
||||||
|
[[ $wiki =~ _html$ ]] && continue
|
||||||
echo Synching $wiki
|
echo Synching $wiki
|
||||||
git -C $wiki pull --rebase --autostash
|
git -C $wiki pull --rebase --autostash
|
||||||
git -C $wiki add .
|
git -C $wiki add .
|
||||||
git -C $wiki commit -a -n -m "Auto-update"
|
git -C $wiki commit -a -n -m "Auto-update"
|
||||||
git -C $wiki push
|
git -C $wiki push
|
||||||
echo done.
|
echo done synching $wiki.
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in a new issue