summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan C <ianc@noddybox.co.uk>2023-06-26 18:20:40 +0100
committerIan C <ianc@noddybox.co.uk>2023-06-26 18:20:40 +0100
commitb5107b74d915a55f3c41af6eec6df5573e94bfab (patch)
tree838b19735c2b1eb17432a10d5e7c4e5b79ab2408
parentd5b0114eb589c9cd4d9a9e412b8057a470367aa4 (diff)
Added extract_zips.sh and added .exe files to .gitignore
-rw-r--r--.gitignore20
-rwxr-xr-xextract_zips.sh10
2 files changed, 30 insertions, 0 deletions
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