From d3fd76cb12f9080cc49c7d9cb1bfab5b2d574aef Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Wed, 21 Sep 2016 17:19:40 +0200 Subject: Add position of file in archive to name MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Some archive disks are organized into “sections” and file order should be preserved in those cases. Add a simple commandline switch. --- extractAll.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'extractAll.sh') diff --git a/extractAll.sh b/extractAll.sh index 6139475..8b8649f 100755 --- a/extractAll.sh +++ b/extractAll.sh @@ -9,7 +9,7 @@ while read -r F; do destdir="${base}.extracted" echo "Extracting $F to $destdir" $root/linearizeDisk.py "$F" "$linear" - $root/extractArchive.py -o "$destdir" "$linear" + $root/extractArchive.py -n -o "$destdir" "$linear" pushd "$destdir" || continue for G in ./*; do echo "Converting $G to ${G}.txt" -- cgit v1.2.3