summaryrefslogtreecommitdiffstats
path: root/.local/bin/sync-elfeed.sh
diff options
context:
space:
mode:
Diffstat (limited to '.local/bin/sync-elfeed.sh')
-rwxr-xr-x.local/bin/sync-elfeed.sh7
1 files changed, 7 insertions, 0 deletions
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