use find rather than ls to prevent error when no file is there.

This commit is contained in:
Your Name
2020-04-23 22:13:26 -05:00
parent c3a5f04fb4
commit a1a43f416a

View File

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