...Pretty much the same as Bobo's slightly-altered script here:
#!/bin/sh
# bobo's dirty wrapper script
#
[email protected]# target dir for symlinks:
target="/drive0/mp3s"
files=`ls -1 *0`
for i in $files
do
fidname=$(echo $i | sed s/.$/1/)
mp3name=$i
album=$(cat $fidname | grep -i source= | sed s/source=//i)
title=$(cat $fidname | grep -i title= | sed s/title=//i)
artist=$(cat $fidname | grep -i artist= | sed s/artist=//i)
if !(test -d "$target/$album/"); then
mkdir "$target/$album/"
fi
verz=$(pwd)
echo "creating symlink: /$album/$title.mp3"
ln "$verz/$mp3name" "$target/$album/$artist - $title.mp3"
done
...the problem w/ hardlinking comes into play with two-drive empeg's..half my music is in one drive, the other half is on the other.. and unfortunately, some of the tags/fids are even split, with the music being on one partition, and the tag info being on the other.. (that part's actually easy to fix.. ) if the web server followed symbolic links though, you could compile the list in one place and the web browser shouldn't know the differnce...
I don't know though; am I the only person who gets nervous opening an http server on a public/fast IP connection?:)
-mark
...proud to have owned one of the first Mark I units