mirror of
https://github.com/pirate/ArchiveBox.git
synced 2025-08-14 10:34:20 +02:00
Updated Usage (markdown)
15
Usage.md
15
Usage.md
@@ -192,6 +192,21 @@ bookmarks, you can use the `ONLY_NEW` environment variable. This is useful if
|
|||||||
you want to import a bookmark dump periodically and want to skip broken links
|
you want to import a bookmark dump periodically and want to skip broken links
|
||||||
which are already in the index.
|
which are already in the index.
|
||||||
|
|
||||||
|
## SQL Shell Usage
|
||||||
|
|
||||||
|
Explore the SQLite3 DB a bit to see whats available using the SQLite3 shell:
|
||||||
|
```bash
|
||||||
|
cd ~/archivebox
|
||||||
|
sqlite3 index.sqlite3
|
||||||
|
|
||||||
|
# example usage:
|
||||||
|
SELECT * FROM snapshot;
|
||||||
|
UPDATE auth_user SET email = 'someNewEmail@example.com' WHERE username = 'someUsernameHere';
|
||||||
|
...
|
||||||
|
```
|
||||||
|
|
||||||
|
More info: https://github.com/ArchiveBox/ArchiveBox/wiki/Upgrading-or-Merging-Archives#modify-the-archivebox-sqlite3-db-directly
|
||||||
|
|
||||||
## Python Shell Usage
|
## Python Shell Usage
|
||||||
|
|
||||||
Explore the Python API a bit to see whats available using the archivebox shell:
|
Explore the Python API a bit to see whats available using the archivebox shell:
|
||||||
|
Reference in New Issue
Block a user