fill data in order

This commit is contained in:
Your Name
2020-10-14 15:42:10 -05:00
parent 7c4683442d
commit 723f976d50
2 changed files with 2 additions and 2 deletions

View File

@@ -5,7 +5,7 @@ mkdir -p processedDBs
rm consolidated.sqlite3 rm consolidated.sqlite3
sqlite3 consolidated.sqlite3 < createTable.sql sqlite3 consolidated.sqlite3 < createTable.sql
ls quoteStore_202*.sqlite3.gz | while read db; do ls quoteStore_202*.sqlite3.gz | sort | while read db; do
echo unpacking $db echo unpacking $db
gzip -dc $db >/tmp/xx.sqlite3 gzip -dc $db >/tmp/xx.sqlite3
echo processing... echo processing...

View File

@@ -9,7 +9,7 @@ while getopts "d" opt; do
esac esac
done done
find . -maxdepth 1 -name 'quoteStore_202*.sqlite3.gz' | while read db; do find . -maxdepth 1 -name 'quoteStore_202*.sqlite3.gz' | sort | while read db; do
echo unpacking $db echo unpacking $db
gzip -dc $db >/tmp/xx.sqlite3 gzip -dc $db >/tmp/xx.sqlite3
echo processing... echo processing...