diff options
Diffstat (limited to 'tools/extractAll.sh')
-rwxr-xr-x | tools/extractAll.sh | 21 |
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 - |