Add -z flag to zmap script
This commit is contained in:
parent
2e88dbbfa7
commit
f92a121758
2
zmap.sh
2
zmap.sh
|
@ -39,7 +39,7 @@ ssh -i "$REMOTE_KEY" "$REMOTE" "
|
||||||
'$REMOTE_IPMAP_PATH' convert '$REMOTE_CSV_PATH' '$REMOTE_BIN_PATH' &&
|
'$REMOTE_IPMAP_PATH' convert '$REMOTE_CSV_PATH' '$REMOTE_BIN_PATH' &&
|
||||||
rm '$REMOTE_CSV_PATH' &&
|
rm '$REMOTE_CSV_PATH' &&
|
||||||
mkdir -p '$CURRENT_REMOTE_TILES_PATH' &&
|
mkdir -p '$CURRENT_REMOTE_TILES_PATH' &&
|
||||||
'$REMOTE_IPMAP_PATH' mktiles -a -c '$COLORMAPS' -v '$VARIANTS' -j '$REMOTE_JSON_PATH' -r '$CURRENT_REMOTE_RAWS_PATH' '$REMOTE_COORDS_PATH' '$REMOTE_BIN_PATH' '$CURRENT_REMOTE_TILES_PATH'
|
'$REMOTE_IPMAP_PATH' mktiles -a -z -c '$COLORMAPS' -v '$VARIANTS' -j '$REMOTE_JSON_PATH' -r '$CURRENT_REMOTE_RAWS_PATH' '$REMOTE_COORDS_PATH' '$REMOTE_BIN_PATH' '$CURRENT_REMOTE_TILES_PATH'
|
||||||
cd '$REMOTE_DATA_PATH' && for f in *; do (( \$f < $KEEP_DATE )) && rm -r \"\$f\"; done
|
cd '$REMOTE_DATA_PATH' && for f in *; do (( \$f < $KEEP_DATE )) && rm -r \"\$f\"; done
|
||||||
cd '$REMOTE_TILES_PATH' && for f in *; do (( \$f < $KEEP_DATE )) && '$REMOTE_IPMAP_PATH' rmtiles -j '$REMOTE_JSON_PATH' \"\$f\"; done
|
cd '$REMOTE_TILES_PATH' && for f in *; do (( \$f < $KEEP_DATE )) && '$REMOTE_IPMAP_PATH' rmtiles -j '$REMOTE_JSON_PATH' \"\$f\"; done
|
||||||
"
|
"
|
||||||
|
|
Loading…
Reference in New Issue