aboutsummaryrefslogtreecommitdiff
path: root/doc/snac.1
diff options
context:
space:
mode:
authordefault <nobody@localhost>2024-11-25 10:43:56 +0100
committerdefault <nobody@localhost>2024-11-25 10:43:56 +0100
commitebb1b00457d7a362c08a40aaadd91968f837bca1 (patch)
treefe17bbafa002f65a51d39c84094797900c102bc8 /doc/snac.1
parenta30b2b61b4be0e18439c6cde695b59f9a215ebe8 (diff)
Updated documentation.
Diffstat (limited to 'doc/snac.1')
-rw-r--r--doc/snac.112
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/snac.1 b/doc/snac.1
index 6d719cb..c2691d0 100644
--- a/doc/snac.1
+++ b/doc/snac.1
@@ -280,6 +280,13 @@ section 'Migrating from snac to Mastodon').
Starts a migration from this account to the one set as an alias (see
.Xr snac 8 ,
section 'Migrating from snac to Mastodon').
+.It Cm import_csv Ar basedir Ar uid
+Imports CSV data files from a Mastodon export. This command expects the
+following files to be in the current directory:
+.Pa bookmarks.csv ,
+.Pa blocked_accounts.csv ,
+.Pa lists.csv , and
+.Pa following_accounts.csv .
.It Cm state Ar basedir
Dumps the current state of the server and its threads. For example:
.Bd -literal -offset indent
@@ -302,6 +309,11 @@ in-memory job queue. The thread state can be: waiting (idle waiting
for a job to be assigned), input or output (processing I/O packets)
or stopped (not running, only to be seen while starting or stopping
the server).
+.It Cm import_list Ar basedir Ar uid Ar file
+Imports a Mastodon list in CSV format. This option can be used to
+import "Mastodon Follow Packs".
+.It Cm import_block_list Ar basedir Ar uid Ar file
+Imports a Mastodon list of accounts to be blocked in CSV format.
.El
.Ss Migrating an account to/from Mastodon
See