aboutsummaryrefslogtreecommitdiff
path: root/convert
diff options
context:
space:
mode:
Diffstat (limited to 'convert')
-rwxr-xr-xconvert12
1 files changed, 12 insertions, 0 deletions
diff --git a/convert b/convert
new file mode 100755
index 0000000..50676c8
--- /dev/null
+++ b/convert
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+f=$1
+shift
+
+for x in "$@"; do
+ make "${x%.ttf}".dit
+ case "$x" in
+ */*) ./rename "${x%/*}/$f" "${x%.ttf}.dit" ;;
+ *) ./rename "$f" "${x%.ttf}.dit" ;;
+ esac
+done