/admin/gen_resources.sh
http://github.com/tomahawk-player/tomahawk · Shell · 13 lines · 9 code · 3 blank · 1 comment · 1 complexity · b9862bccb5ff9f4102223ba66edf2efc MD5 · raw 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>"