continue extraction zip

parent e94a080a
......@@ -12,11 +12,12 @@ file=$f"/"
filename=$OUTDIR"/T"$(echo $f | cut -d"T" -f2-10 | cut -d"." -f1)"_B"
if [ ! -e $filename"02.jp2" || ! -e $filename"03.jp2" || ! -e $filename"04.jp2" ]; do
if [ ! -e $filename"02.jp2" || ! -e $filename"03.jp2" || ! -e $filename"04.jp2" ]; then
unzip -j $f *B02.jp2 *B03.jp2 *B04.jp2 -d $OUTDIR
done
else
echo PASS $f
fi
cd $OUTDIR
red=$(ls *B04.jp2 -t |head -1)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment