implementation of the receiving side

This commit is contained in:
Joe Tretter
2022-09-04 16:14:38 -05:00
parent 2255def7aa
commit ee0b9de38b
5 changed files with 37 additions and 6 deletions

15
Decoder/combineChunks.sh Executable file
View File

@@ -0,0 +1,15 @@
#!/bin/bash
rm output.dat
currFN=0
echo "processing chunks "
while /bin/true; do
if [ ! -f chunks/${currFN}.chunk ] ; then
echo chunk $currFN is missing!
exit 1
else
echo -n $currFN/
fi
cat chunks/${currFN}.chunk >> output.dat
let currFN=$currFN+1
done