This repository was archived by the owner on Jun 30, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsmd-server.1.txt
40 lines (32 loc) · 1.48 KB
/
smd-server.1.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
NAME
smd-server - sends diffs and mails to smd-client
SYNOPSIS
smd-server [--exclude glob] [-v|--verbose] [-d|--dry-run]
[--get-mddiff-cmdline] [--stop-after-diff]
[--override-db dbf] [--dump-stdin tgt] endpoint mailboxes
DESCRIPTION
smd-server needs to know a name (endpoint) for the client (that must not
be used by others) and a list of mailboxes (directories).
smd-server first calls mddiff(1), then prints on stdout the generated
diff. It then accepts from stdin a small set of commands a client
may issue to request a file (or parts of it, like the header).
smd-server is in charge of committing the db file used by mddiff(1)
in case the client communicates a successful sync.
OPTIONS
-v --verbose Increase program verbosity (printed on stderr)
-d --dry-run Do not perform any action for real
-n --no-delete Do not track deleted files
--exclude glob Exclude paths matching glob
--override-db dbf Use dbf as the db-file
--get-mddiff-cmdline Print the command line used for mddiff and then exist
--stop-after-diff Send the actions to the other endpoint and exit. If used
in conjunction with --override-db, dbf is removed just
before exiting
--dump-stdin tgt Dump standard input to tgt and exit
NOTES
smd-server is a low level utility. You should use higher level tools like
smd-pull(1) and smd-push(1)
SEE ALSO
mddiff(1), smd-client(1), smd-pull(1), smd-push(1)
AUTHOR
Enrico Tassi <[email protected]>