unzip stage
This commit is contained in:
parent
b85a2bf865
commit
b773cec0e8
@ -17,6 +17,14 @@ data_dir=$1
|
|||||||
# Use `fid` as source ID, aka TOID.
|
# 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" | \
|
find $data_dir -type f -name '*.gz' -printf "%f\n" | \
|
||||||
parallel \
|
parallel \
|
||||||
gunzip $data_dir/{} -k -S gml
|
gunzip $data_dir/{} -k -S gml
|
||||||
|
Loading…
Reference in New Issue
Block a user