diff options
-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 |