Not familiar with shell scripts? Just open a "Terminal" application and copy+paste those lines into it.#!/bin/bash
for i in `find . -type d`; do
for j in $i/*.mp3; do
if [ "$j" != "$i/*.mp3" ]; then
file=$(basename $j);
directory=$(basename $i);
echo $file >> $i/$directory.m3u;
fi;
done;
done
If you have wav files or other format, just replace "mp3" with that format's extension.
No comments:
Post a Comment