summaryrefslogtreecommitdiffstats
path: root/bin/mpd_latest.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bin/mpd_latest.sh')
-rwxr-xr-xbin/mpd_latest.sh4
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