add script to create zip

This commit is contained in:
Christian Sacks 2019-08-28 13:42:29 +01:00
parent 4eb782e08a
commit 76cb5e39cb
2 changed files with 16 additions and 0 deletions

16
compile_nodelist.sh Executable file
View File

@ -0,0 +1,16 @@
#!/bin/bash
absfile=$(ls -rt outfile/* | tail -1)
echo $absfile
file=$(echo $(basename $absfile))
echo $file
ext=$(echo $file | awk -F. '{ print $2 }')
echo $ext
newext="z${ext:1:2}"
echo $newext
zip -j9 zip/tqwnet.$newext $absfile

BIN
zip/tqwnet.z42 Normal file

Binary file not shown.