mpd/auto-commit-push.sh

10 lines
188 B
Bash
Raw Normal View History

2020-04-21 19:40:44 +00:00
#!/bin/sh
2020-04-21 20:53:14 +00:00
cd /home/ray/.config/mpd
date
2020-04-21 19:40:44 +00:00
git add playlists/
if git commit -m 'auto playlist update' ; then
git push -u origin master
fi
2020-04-21 20:55:32 +00:00
echo "-------------------------------------------"