You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#!/bin/bash
|
|
|
|
dolt sql -q "show tables;" | grep "| [a-z]" | sed -e 's/[| ]//g' > /tmp/tables_gtfs.txt
|
|
for table in `cat /tmp/tables_gtfs.txt`; do dolt table export $table $table.csv; mv $table.csv $table.txt ; done
|
|
zip -9 $1 *.txt
|