SQLite Forum

Extract files from sqlar with a directory prepended
Login
One way is:
```sh
mkdir mydir
cd mydir
sqlite3 ../example.sqlar -Ax
```

To check for file names starting with `/`, you could use a SQL query to see if there are any such files first before extracting anything, e.g. `select count() from sqlar where name like '/%';`