#!/bin/bash

DATABASE=tiger

while read zip; do
    rm *.RT? *.MET
    unzip $zip
    ogr2ogr $APPEND -f PostgreSQL \
	PG:dbname=$DATABASE *.RT1 \
	-lco LAUNDER=yes -nln complete_chain CompleteChain
    APPEND=-append
done 
