Update backup_umap.sh

This commit is contained in:
MaelReboux 2019-10-08 20:44:27 +02:00
parent e3a3bdc366
commit a298ed0b1c

View file

@ -30,7 +30,7 @@ curl -sS http://umap.openstreetmap.fr/fr/datalayer/861810/ > "jour_courant/$(da
for f in jour_courant/*.geojson for f in jour_courant/*.geojson
do do
#if [[ $f =~ [0-9]{8}_(0600|1300|1800)_* ]] #if [[ $f =~ [0-9]{8}_(0600|1300|1800)_* ]]
if [[ $f =~ [0-9]{8}_(0600)_* ]] if [[ $f =~ [0-9]{8}_(1200)_* ]]
then cp $f ./ then cp $f ./
fi fi
done done