diff options
author | Rasmus Steinke <rasi@xssn.at> | 2012-08-11 02:40:34 +0200 |
---|---|---|
committer | Rasmus Steinke <rasi@xssn.at> | 2012-08-11 02:40:34 +0200 |
commit | f140a1642ebfde198946ad6760c1003c1cb9a8c3 (patch) | |
tree | 7538aa90092f99c661ec3abb4a69944767315dc5 /bin/mpd_latest.sh | |
parent | e3fd45703267ce67d8b1e1fb53a4a1b4ccda551e (diff) | |
download | dotfiles-f140a1642ebfde198946ad6760c1003c1cb9a8c3.tar.gz dotfiles-f140a1642ebfde198946ad6760c1003c1cb9a8c3.tar.xz |
scripts
Diffstat (limited to 'bin/mpd_latest.sh')
-rwxr-xr-x | bin/mpd_latest.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/mpd_latest.sh b/bin/mpd_latest.sh new file mode 100755 index 0000000..12138fa --- /dev/null +++ b/bin/mpd_latest.sh @@ -0,0 +1,4 @@ +#!/bin/bash + +cd /mnt/wasteland/firstwaste/Audio/Rips/flac && find . -type f -mtime -1 | egrep '\.mp3$|\.flac$' | awk '{ sub(/^\.\//, ""); +print }' > ~/.mpd/playlists/newmusic.m3u |