diff options
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 + + |