mpd/auto-commit-push.sh

10 lines
188 B
Bash
Executable File

#!/bin/sh
cd /home/ray/.config/mpd
date
git add playlists/
if git commit -m 'auto playlist update' ; then
git push -u origin master
fi
echo "-------------------------------------------"