I'm trying to monitor the progress of a sqlite3 command importing a large .sql file into a database using zenity --progress.
I've tried the following which will import the file, however progress is not shown:
sqlite3 DATABASE < import_file.sql | zenity --progress --percentage=0 --auto-close
I know I need to provide zenity a numeric source for the progress, but don't really know how to obtain the number.
Can anyone help me?
