OS Manuals

/usr/bin/spatialite

CLI tools for SpatiaLite (spatialite shell and spatialite_tool)

From spatialite-tools 5.1.0-r2 (enterprise-packages), captured 2026-11-08 by running spatialite --help (exit 1). permalink

Usage: /usr/bin/spatialite [OPTIONS] FILENAME [SQL]
FILENAME is the name of an SQLite database. A new database is created
if the file does not previously exist.
OPTIONS include:
   -bail                stop after hitting an error
   -batch               force batch I/O
   -column              set output mode to 'column'
   -cmd command         run "command" before reading stdin
   -csv                 set output mode to 'csv'
   -echo                print commands before execution
   -init filename       read/process named file
   -[no]header          turn headers on or off
   -help                show this message
   -html                set output mode to HTML
   -interactive         force interactive I/O
   -line                set output mode to 'line'
   -list                set output mode to 'list'
   -silent              suppress the welcome message
   -nullvalue 'text'    set text string for NULL values
   -separator 'x'       set output field separator (|)
   -stats               print memory stats before each finalize
   -version             show SQLite version
   -vfs NAME            use NAME as the default VFS
Options (18)
OptionDescriptionSource
-bailstop after hitting an errorhelp
-batchforce batch I/Ohelp
-columnset output mode to 'column'help
-cmd commandrun "command" before reading stdinhelp
-csvset output mode to 'csv'help
-echoprint commands before executionhelp
-init filenameread/process named filehelp
-helpshow this messagehelp
-htmlset output mode to HTMLhelp
-interactiveforce interactive I/Ohelp
-lineset output mode to 'line'help
-listset output mode to 'list'help
-silentsuppress the welcome messagehelp
-nullvalue 'text'set text string for NULL valueshelp
-separator 'x'set output field separator (|)help
-statsprint memory stats before each finalizehelp
-versionshow SQLite versionhelp
-vfs NAMEuse NAME as the default VFShelp

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.