Indeed a short piece of shell script and you can do it easily.  My
library is on a NAS that runs Linux and the playlists are in
/Qmultimedia/Music/playlists so:

cd /Qmultimedia/Music/playlists
for file in *.m3u
do
sed -e 's!/Qmultimedia/!/bigdisk/!' < "$file" > "$file".new && mv
"$file".new "$file"
done

The line beginning with sed is all one line, the next line starts with
the word done.  The example above deals with moving the library from
/Qmultimedia to /bigdisk so you'd need to subsitute your own disk names
here.


-- 
Fozzy
------------------------------------------------------------------------
Fozzy's Profile: http://forums.slimdevices.com/member.php?userid=8592
View this thread: http://forums.slimdevices.com/showthread.php?t=88994

_______________________________________________
discuss mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/discuss

Reply via email to