diff options
author | Ian C <ianc@noddybox.co.uk> | 2023-06-26 18:20:40 +0100 |
---|---|---|
committer | Ian C <ianc@noddybox.co.uk> | 2023-06-26 18:20:40 +0100 |
commit | b5107b74d915a55f3c41af6eec6df5573e94bfab (patch) | |
tree | 838b19735c2b1eb17432a10d5e7c4e5b79ab2408 | |
parent | d5b0114eb589c9cd4d9a9e412b8057a470367aa4 (diff) |
Added extract_zips.sh and added .exe files to .gitignore
-rw-r--r-- | .gitignore | 20 | ||||
-rwxr-xr-x | extract_zips.sh | 10 |
2 files changed, 30 insertions, 0 deletions
@@ -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 |