Update for 02-11-21 00:12
This commit is contained in:
parent
7166a9fd8e
commit
91516c8133
@ -1,9 +1,12 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Get dir of the vimiwki
|
||||||
SCRIPT_DIR="$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
|
SCRIPT_DIR="$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
|
||||||
|
|
||||||
|
#add changes to github
|
||||||
git -C "$SCRIPT_DIR" add .
|
git -C "$SCRIPT_DIR" add .
|
||||||
git -C "$SCRIPT_DIR" commit -m "Update for $(date "+%d-%m-%y %R")"
|
git -C "$SCRIPT_DIR" commit -m "Update for $(date "+%d-%m-%y %R")"
|
||||||
git -C "$SCRIPT_DIR" push
|
git -C "$SCRIPT_DIR" push
|
||||||
|
|
||||||
|
#let me know about it
|
||||||
notify-send "Vimwiki" "Your Vimwiki has been backed up!"
|
notify-send "Vimwiki" "Your Vimwiki has been backed up!"
|
||||||
|
Loading…
Reference in New Issue
Block a user