unzip stage

This commit is contained in:
Ed Chalstrey 2022-03-10 09:59:22 +00:00
parent b85a2bf865
commit b773cec0e8

View File

@ -17,6 +17,14 @@ data_dir=$1
# Use `fid` as source ID, aka TOID.
#
#
# Unzip to GML
#
find $data_dir -type f -name '*.zip' -printf "%f\n" | \
parallel \
unzip -u $data_dir/{} -d $data_dir
find $data_dir -type f -name '*.gz' -printf "%f\n" | \
parallel \
gunzip $data_dir/{} -k -S gml