diff --git a/etl/load_uprns.sh b/etl/load_uprns.sh index ee068ea8..ff25fbbc 100755 --- a/etl/load_uprns.sh +++ b/etl/load_uprns.sh @@ -15,10 +15,10 @@ data_dir=$1 # toid: , # uprn_geom: # -# find $data_dir -type f -name '*.3857.csv.loadable' \ -# -printf "$data_dir/%f\n" | \ -# parallel \ -# cat {} '|' psql -c "\"COPY building_properties ( uprn_geom, toid, uprn, parent_uprn ) FROM stdin WITH CSV HEADER;\"" +find $data_dir -type f -name '*.3857.csv.loadable' \ +-printf "$data_dir/%f\n" | \ +parallel \ +cat {} '|' psql -c "\"COPY building_properties ( uprn_geom, toid, uprn, parent_uprn ) FROM stdin WITH CSV HEADER;\"" # # Create references