1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-01-17 22:38:33 +01:00
tomahawk/admin/gen_resources.sh
2011-03-19 08:35:54 +01:00

14 lines
251 B
Bash
Executable File

#!/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>"