]> git.phdru.name Git - audio-cdr-video.git/blob - audio/cat-playlists
Add `cat-playlists`
[audio-cdr-video.git] / audio / cat-playlists
1 #! /bin/sh
2 set -e
3
4 find . -mindepth 1 -type d -printf '"%P"\n' | sort | sed 's/`/\\`/' |
5 xargs -I% -n1 sh -c \
6     'test -f "%"/PlayList.m3u && cat "%"/PlayList.m3u | sed -e "s\^\%/\\"' \
7 > PlayList.m3u