#!/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