diff options
| author | 2024-11-25 10:43:56 +0100 | |
|---|---|---|
| committer | 2024-11-25 10:43:56 +0100 | |
| commit | ebb1b00457d7a362c08a40aaadd91968f837bca1 (patch) | |
| tree | fe17bbafa002f65a51d39c84094797900c102bc8 | |
| parent | Fixed typo. (diff) | |
| download | penes-snac2-ebb1b00457d7a362c08a40aaadd91968f837bca1.tar.gz penes-snac2-ebb1b00457d7a362c08a40aaadd91968f837bca1.tar.xz penes-snac2-ebb1b00457d7a362c08a40aaadd91968f837bca1.zip | |
Updated documentation.
| -rw-r--r-- | doc/snac.1 | 12 |
1 files changed, 12 insertions, 0 deletions
| @@ -280,6 +280,13 @@ section 'Migrating from snac to Mastodon'). | |||
| 280 | Starts a migration from this account to the one set as an alias (see | 280 | Starts a migration from this account to the one set as an alias (see |
| 281 | .Xr snac 8 , | 281 | .Xr snac 8 , |
| 282 | section 'Migrating from snac to Mastodon'). | 282 | section 'Migrating from snac to Mastodon'). |
| 283 | .It Cm import_csv Ar basedir Ar uid | ||
| 284 | Imports CSV data files from a Mastodon export. This command expects the | ||
| 285 | following files to be in the current directory: | ||
| 286 | .Pa bookmarks.csv , | ||
| 287 | .Pa blocked_accounts.csv , | ||
| 288 | .Pa lists.csv , and | ||
| 289 | .Pa following_accounts.csv . | ||
| 283 | .It Cm state Ar basedir | 290 | .It Cm state Ar basedir |
| 284 | Dumps the current state of the server and its threads. For example: | 291 | Dumps the current state of the server and its threads. For example: |
| 285 | .Bd -literal -offset indent | 292 | .Bd -literal -offset indent |
| @@ -302,6 +309,11 @@ in-memory job queue. The thread state can be: waiting (idle waiting | |||
| 302 | for a job to be assigned), input or output (processing I/O packets) | 309 | for a job to be assigned), input or output (processing I/O packets) |
| 303 | or stopped (not running, only to be seen while starting or stopping | 310 | or stopped (not running, only to be seen while starting or stopping |
| 304 | the server). | 311 | the server). |
| 312 | .It Cm import_list Ar basedir Ar uid Ar file | ||
| 313 | Imports a Mastodon list in CSV format. This option can be used to | ||
| 314 | import "Mastodon Follow Packs". | ||
| 315 | .It Cm import_block_list Ar basedir Ar uid Ar file | ||
| 316 | Imports a Mastodon list of accounts to be blocked in CSV format. | ||
| 305 | .El | 317 | .El |
| 306 | .Ss Migrating an account to/from Mastodon | 318 | .Ss Migrating an account to/from Mastodon |
| 307 | See | 319 | See |