summaryrefslogtreecommitdiffstats
path: root/.local/bin/sync-elfeed.sh
blob: c39257ac920185cbb36ce0d60a7fc0768dcf2a14 (plain)
1
2
3
4
5
6
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