Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
util:smbutil [2018/02/15 21:49] – [Usage] pack is a command, not an option digital man | util:smbutil [2025/04/08 19:26] (current) – Document to the index dump output (or start to at least) digital man | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ====== |
- | The Synchronet Message Base Utility (smbutil) can be used for several things, but most importantly, | + | The Synchronet Message Base Utility ('' |
- | The '' | + | The '' |
smbutil maintenance and/or packing should be done using an // | smbutil maintenance and/or packing should be done using an // | ||
Line 32: | Line 32: | ||
x[n] = dump msg index at number n | x[n] = dump msg index at number n | ||
v[n] = view msg headers starting at number n | v[n] = view msg headers starting at number n | ||
+ | V[n] = view msg headers starting at number n verbose | ||
i[f] = import msg from text file f (or use stdin) | i[f] = import msg from text file f (or use stdin) | ||
e[f] = import e-mail from text file f (or use stdin) | e[f] = import e-mail from text file f (or use stdin) | ||
Line 39: | Line 40: | ||
| | ||
| | ||
+ | | ||
| | ||
+ | | ||
| | ||
p[k] = pack msg base (k specifies minimum packable Kbytes) | p[k] = pack msg base (k specifies minimum packable Kbytes) | ||
+ | | ||
+ | | ||
</ | </ | ||
Commands without values may be concatenated (e.g. '' | Commands without values may be concatenated (e.g. '' | ||
+ | |||
+ | == List == | ||
+ | |||
+ | When listing messages. the displayed fields are: | ||
+ | | IndexNum/ | ||
+ | |||
+ | Vote messages (including polls and ballots) are listed with relevant details following '' | ||
+ | |||
+ | When listing files. the displayed fields are: | ||
+ | | IndeNum/ | ||
+ | |||
+ | **Note:**\\ | ||
+ | The [DateTime] and [TimeZone] fields are only included with increasing levels of verbosity (use of the '' | ||
+ | |||
+ | == Index == | ||
+ | |||
+ | When dumping a message base index, the display fields are: | ||
+ | |||
+ | | IndexNum | [TypeCode] | FromHex | ToTex | SubjHex | AttrHex | IndexOffsetHex | DateTime | | ||
+ | |||
+ | When the record is **not** a message, the following TypeCode value mapping is displayed: | ||
+ | ^ Code ^ Type ^ | ||
+ | | V | Ballot | | ||
+ | | P | Poll | | ||
+ | | C | Poll-closure | | ||
+ | | F | File | | ||
===Options=== | ===Options=== | ||
Line 73: | Line 104: | ||
====Examples==== | ====Examples==== | ||
- | === Mainteance | + | === Maintenance |
for maintenance and packing (100k or more per sub): | for maintenance and packing (100k or more per sub): | ||
Line 97: | Line 128: | ||
| | ||
This command will instruct smbutil to: | This command will instruct smbutil to: | ||
- | -continue upon error hen opening a corrupted message base | + | -continue upon error when opening a corrupted message base |
-re-initialize the SMB/status headers of the message base | -re-initialize the SMB/status headers of the message base | ||
-change/ | -change/ |