dotfiles/system/.local/bin/sync_notes.sh
Severin Kaderli df208c3d3e
Update sync_notes.sh
Signed-off-by: Severin Kaderli <severin.kaderli@gmail.com>
2019-02-25 17:56:43 +01:00

19 lines
319 B
Bash
Executable file

#!/bin/bash
#
# SCRIPT NAME:
# sync_notes.sh
#
# AUTHOR:
# Severin Kaderli <severin.kaderli@gmail.com>
#
# DESCRIPTION:
# Sync notes in ~/Notes using git
#
# USAGE:
# ./sync_notes.sh
# Set custom wineprefix
cd "/home/severin/Notes" || exit
git pull
git add --all
git commit -s -m "Update notes"
git push origin master