mpd/add-push-playlist.sh

9 lines
137 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