From 054955db38bb571c294b5d86c78639e3b1091031 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Sat, 18 Jul 2020 15:45:02 +0200 Subject: Added scripts --- .local/bin/sync-elfeed.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 .local/bin/sync-elfeed.sh (limited to '.local/bin/sync-elfeed.sh') diff --git a/.local/bin/sync-elfeed.sh b/.local/bin/sync-elfeed.sh new file mode 100755 index 0000000..c39257a --- /dev/null +++ b/.local/bin/sync-elfeed.sh @@ -0,0 +1,7 @@ +#!/usr/local/bin/dash + +date=$(date) +git -C ~/.elfeed add . >/dev/null 2>&1 +git -C ~/.elfeed commit -m "$date" >/dev/null 2>&1 || exit 1 +git -C ~/.elfeed push origin master >/dev/null 2>&1 +exit -- cgit v1.2.3