diff options
Diffstat (limited to 'watch-calendars')
-rwxr-xr-x | watch-calendars | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/watch-calendars b/watch-calendars index 0c74f89..4ba4250 100755 --- a/watch-calendars +++ b/watch-calendars @@ -20,7 +20,7 @@ if [ $# -eq 0 ]; then fi while [ -d "$1" ]; do - inotifywait -r "$1" -e CREATE,MOVED_TO,DELETE -t 30 + inotifywait --exclude .git -r -e CREATE,MOVED_TO,DELETE -t 30 "$1" git -C "$1" add -A git -C "$1" commit -m'update by '"$(whoami)"'@'"$(uname -n)"' on '"$(date)" git -C "$1" pull --rebase |