X-Git-Url: https://git.armaanb.net/?p=bin.git;a=blobdiff_plain;f=fmt-music;h=e1a3cfb6854c6bc6afa595c73ecaeac5da3d107d;hp=90457aa653bb4148174a3f5e445dac86731ae2a3;hb=bfaa7b38daabe8c41a7522cc834172ef963a96bc;hpb=80336d089bff44eacf8ed17c89a48728f5cd110f diff --git a/fmt-music b/fmt-music index 90457aa..e1a3cfb 100755 --- a/fmt-music +++ b/fmt-music @@ -1,4 +1,5 @@ #!/usr/bin/sh -e +# Turns a nested hierarchy of music files into a flat one find "${1:-.}" -regex '.*\.\(mp3\|ogg\|wav\|aac\|wma\|flac\|alac\)' -type f | \ while read line; do