Change directories to lower case

Signed-off-by: Severin Kaderli <severin@kaderli.dev>
This commit is contained in:
Severin Kaderli 2019-05-27 13:57:21 +02:00
parent 4645e18f64
commit ee60d3cb64
Signed by: severinkaderli
GPG key ID: F419F8835B72F0C4
9 changed files with 57 additions and 43 deletions

View file

@ -13,9 +13,13 @@
# ./sync-notes
. /home/severin/.local/bin/utils
if [ ! -d "/home/severin/notes" ]; then
exit
fi
print_time_log "sync-notes" "Synchronizing notes"
cd "/home/severin/Notes" || exit
cd "/home/severin/notes" || exit
git pull > /dev/null 2>&1
git add --all > /dev/null 2>&1
git commit -s -m "Update notes" > /dev/null 2>&1