I am writing a shell script to scp a project and part of it involves transferring some important tables in my database.
I have the following stored in the file
You can get a list of the spatial tables as follows:
echo "SELECT f_table_name FROM geometry_columns;" | spatialite -noheader -silent your_db.sqlite