From b5107b74d915a55f3c41af6eec6df5573e94bfab Mon Sep 17 00:00:00 2001 From: Ian C Date: Mon, 26 Jun 2023 18:20:40 +0100 Subject: Added extract_zips.sh and added .exe files to .gitignore --- .gitignore | 20 ++++++++++++++++++++ extract_zips.sh | 10 ++++++++++ 2 files changed, 30 insertions(+) create mode 100755 extract_zips.sh diff --git a/.gitignore b/.gitignore index b0edb98..32040f6 100644 --- a/.gitignore +++ b/.gitignore @@ -1,20 +1,40 @@ asc +asc.exe bin2db +bin2db.exe cfile +cfile.exe cfile8 +cfile8.exe ctime +ctime.exe err +err.exe hex +hex.exe insertbom +insertbom.exe int2bin +int2bin.exe mb +mb.exe num +num.exe pathconf +pathconf.exe purge +purge.exe sc2001 +sc2001.exe seekp +seekp.exe serv +serv.exe sig +sig.exe sock +sock.exe strlen +strlen.exe total +total.exe diff --git a/extract_zips.sh b/extract_zips.sh new file mode 100755 index 0000000..bf76d10 --- /dev/null +++ b/extract_zips.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +for i in $* ; do + dir=$(basename $i .zip) + mkdir $dir + cd $dir + unzip ../$i + cd .. + rm $i +done -- cgit v1.2.3