I have a fairly simple question for anyone who knows a bit about Bash scripting.
I have a list of 350 tracks I have uploaded to my Linux VPS. I'm trying to work out a nice simple way to add the track names to my tracklist.txt (Matchsettings) file.
I've tried reading through a few Bash scripting tutorials, but I haven't managed to get anything working as yet.
Basically all I need is for a script to print out the lines:
Code: Select all
<challenge> <file>Challenges/MyDir/TheChallenge.gbx</file> </challenge>
Once I have the formatted tracklist, I can simply add the rest of the matchsettings at the top and finish the file off with whatever else is needed.
Anyone able to offer some insights?