1 2 3 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