libreoffice  --headless  --convert-to  csv  filename.ods

Save filename.ods as a new text .csv file called filename.csv