spatialite(1)
β¨ NAME β¨
okay so bestie, welcome to spatialite β the CLI backend for SpatiaLite π
it's the little command-line door you walk through to talk to your SpatiaLite databases, and honestly? it ate.
πΈ SYNOPSIS πΈ
spatialite [OPTIONS] FILENAME [SQL]
like. you give it a file, you give it some options maybe, you give it some SQL if you're feeling spicy. that's the whole vibe. π¦
π DESCRIPTION π
spatialite is a CLI backend for SpatiaLite. that's it, that's the description, no cap. it's a command-line interface that hooks you up with SpatiaLite and lets you run your little SQL statements against a database file. main character energy fr. π
π OPTIONS π
bestie there are so many options and I am listing every single one of them, no skipping, we don't do that here π
-bailβ hit an error? we're DONE. stop right there. π-batchβ force batch I/O, like, no chatting, just doing.-columnβ sets the output mode to'column', cute little columns β¨-cmd commandβ run command before it starts reading from stdin, a little warm-up before the main event π«Ά-csvβ set output mode to'csv', commas everywhere, iconic-echoβ prints your commands before executing them, so you can see your own work, love that for you-init filenameβ read and process the named filename, get it together bestie-[no]headerβ turn headers on or off, your call, you're in charge here π-helpβ show the help message, when you're lost, which, same-htmlβ set output mode to HTML, serving looks in markup form π-interactiveβ force interactive I/O, let's talk about it πΈ-lineβ set output mode to'line', one line at a time, very put-together-listβ set output mode to'list', classic, timeless, no notes-multiplexβ enable the multiplexor VFS, but ONLY if support is built in, don't assume, check first π-nullvalue 'text'β set the text string that shows up forNULLvalues, so they don't just ghost you π-separator 'x'β set the output field separator (the default is|, just so you know) β-statsβ print memory stats before each finalize, numbers girlies rise π-versionβ show the SQLite version, bc knowing is half the battle-vfs NAMEβ useNAMEas the default VFS, pick your fave-vfstraceβ enable tracing of all VFS calls, again only if support is built in, don't come for me if it's not there π§
ngl, those last two?-multiplexand-vfstrace? they only work if support is built in. so like, vibe check your build first bestie, or you'll be standing there confused. π
and that's the whole page, we did it, we made it to the end π this was spatialite(1), the CLI backend for SpatiaLite, and this little doc is dated 9 February 2026 β that's the version and the date bestie, noted, archived, slay. bye bye, go run some SQL ππ¦β¨
π¦ where this page comes from
- ubuntu resolute: spatialite-bin 5.1.0a-2build2 Β· GPL-3.0-or-later
- ubuntu stonking: spatialite-bin 5.1.0a-2build2 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms