Change directories to lower case
Signed-off-by: Severin Kaderli <severin@kaderli.dev>
This commit is contained in:
parent
4645e18f64
commit
ee60d3cb64
9 changed files with 57 additions and 43 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue