Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rwxr-xr-xtools/scripts/list-files.sh12
-rwxr-xr-xtools/scripts/rename-sky.sh12
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
+
+