bash script for easy basic manipulation with time x value data in sqlite3 and update to mysql