diff options
author | Stijn Buys <ingar@osirion.org> | 2010-11-04 22:16:35 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2010-11-04 22:16:35 +0000 |
commit | 19a7bc27c54341c14171b6689e843ec390adf86a (patch) | |
tree | 510f457b28b5cd5af0b6ebbef28d3417a54357be /tools/scripts | |
parent | 55e5c42fcf15656073562492438c20f66ec894ed (diff) |
added fonts and scripts
Diffstat (limited to 'tools/scripts')
-rwxr-xr-x | tools/scripts/list-files.sh | 12 | ||||
-rwxr-xr-x | tools/scripts/rename-sky.sh | 12 |
2 files changed, 24 insertions, 0 deletions
diff --git a/tools/scripts/list-files.sh b/tools/scripts/list-files.sh new file mode 100755 index 0000000..50200c9 --- /dev/null +++ b/tools/scripts/list-files.sh @@ -0,0 +1,12 @@ +#!/bin/sh + +dir="$1" + +for f in ${dir}/*; do + echo "<tr>" + echo " <td>${dir}</td>" + echo " <td>`basename ${f}`</td>" + echo " <td></td>" + echo "</tr>" +done + diff --git a/tools/scripts/rename-sky.sh b/tools/scripts/rename-sky.sh new file mode 100755 index 0000000..548c7d2 --- /dev/null +++ b/tools/scripts/rename-sky.sh @@ -0,0 +1,12 @@ +#!/bin/sh + +sky="$1" + +mv ${sky}_back6.png ${sky}_back.png +mv ${sky}_bottom4.png ${sky}_down.png +mv ${sky}_front5.png ${sky}_front.png +mv ${sky}_left2.png ${sky}_left.png +mv ${sky}_right1.png ${sky}_right.png +mv ${sky}_top3.png ${sky}_up.png + + |