summaryrefslogtreecommitdiff
path: root/tools/extractAll.sh
diff options
context:
space:
mode:
authorLars-Dominik Braun <lars@6xq.net>2017-01-21 11:24:56 +0100
committerLars-Dominik Braun <lars@6xq.net>2017-01-28 14:31:28 +0100
commita6d474471dddc2d7a187a66358aafcb86235ca69 (patch)
tree7242cbf0f0e645b2156e143dbebaa2d28b4fcdba /tools/extractAll.sh
parentc7befe173ed2b0f5fd82228fa45c7a105ac44818 (diff)
downloadeumel-a6d474471dddc2d7a187a66358aafcb86235ca69.tar.gz
eumel-a6d474471dddc2d7a187a66358aafcb86235ca69.tar.bz2
eumel-a6d474471dddc2d7a187a66358aafcb86235ca69.zip
Restructure git
Move tools into separate repo, split TTL file.
Diffstat (limited to 'tools/extractAll.sh')
-rwxr-xr-xtools/extractAll.sh21
1 files changed, 0 insertions, 21 deletions
diff --git a/tools/extractAll.sh b/tools/extractAll.sh
deleted file mode 100755
index 8b8649f..0000000
--- a/tools/extractAll.sh
+++ /dev/null
@@ -1,21 +0,0 @@
-#!/bin/sh
-
-root=`dirname "$0"`
-root=`realpath "$root"`
-
-while read -r F; do
- base=`basename "$F"`
- linear=`mktemp`
- destdir="${base}.extracted"
- echo "Extracting $F to $destdir"
- $root/linearizeDisk.py "$F" "$linear"
- $root/extractArchive.py -n -o "$destdir" "$linear"
- pushd "$destdir" || continue
- for G in ./*; do
- echo "Converting $G to ${G}.txt"
- $root/convertFileDs.py "$G" > "${G}.txt" || rm "${G}.txt"
- done
- popd
- rm "$linear"
-done
-