19 lines
319 B
Bash
Executable file
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
|