1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-01-18 23:17:59 +01:00
tomahawk/admin/gen_resources.sh

14 lines
251 B
Bash
Raw Normal View History

2010-10-17 05:32:01 +02:00
#!/bin/bash
echo "<!DOCTYPE RCC><RCC version=\"1.0\"><qresource>"
datadir="`pwd`/data"
cd "$datadir"
(find -type f | sed 's/^\.\///g') | while read f
do
ff="${datadir}/$f"
echo "<file alias=\"$f\">$ff</file>"
done
echo "</qresource></RCC>"