mutil_howto
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
mutil_howto [2016/03/29 04:01] – add merge nodelists page avon | mutil_howto [2023/01/20 03:03] (current) – added mutil -help info avon | ||
---|---|---|---|
Line 20: | Line 20: | ||
mutil msgmaint | mutil msgmaint | ||
+ | |||
+ | MUTIL can also execute specific functions from the command line if they are not enabled in the .ini file. This | ||
+ | is done by using the -RUN or -EXEC or -EXECUTE option (they all do the same thing) followed by a comma separated | ||
+ | list of headers that should be executed. | ||
+ | |||
+ | If you are using a non-default .ini file then you mustr specify the execute command before the ini filename. | ||
+ | |||
+ | mutil -run PackMessageBases | ||
+ | mutil -run PackMessageBases pack.ini | ||
+ | |||
+ | An example of calling multiple headers from the command line (using multi.ini): | ||
+ | |||
+ | mutil -exec ImportEchoMail, | ||
+ | |||
+ | Running MUTIL -l or -list from the command line will print a list of all available functions that MUTIL can do to the screen for reference. | ||
+ | |||
+ | If you run MUTIL -help you will get the full list of options | ||
+ | |||
+ | MUTIL | ||
+ | MUTIL [IniFile] | ||
+ | MUTIL -LIST List all MUTIL functions | ||
+ | MUTIL -RUN [Command] | ||
+ | MUTIL [IniFile] -RUN [Command] | ||
+ | MUTIL -NOSCREEN | ||
+ | MUTIL -VER Show version information | ||
====== Anatomy of the .INI File ====== | ====== Anatomy of the .INI File ====== | ||
Line 31: | Line 56: | ||
Each .ini file has a [General] stanza with some options, followed by a list of functions that can be enabled. | Each .ini file has a [General] stanza with some options, followed by a list of functions that can be enabled. | ||
- | ===== General Options ===== | + | ===== General Options |
The general stanza contains several options you should consider and/or configure further: | The general stanza contains several options you should consider and/or configure further: | ||
Line 43: | Line 68: | ||
; mystic_directory=c: | ; mystic_directory=c: | ||
+ | === Basic Logging === | ||
- | === Logging === | + | MUTIL offers many logging options, and contains the ability to perform two different types of log " |
- | Mystic BBS offers a number of logging tools. For MUTIL you get to tell Mystic what the name of the log file it creates should | + | The first option allows |
- | + | ||
- | If you wish you can **comment out** the line below **to disable logging** completely. | + | |
logfile=mutil.log | logfile=mutil.log | ||
- | The next setting defines the level of detail to be contained within the MUTIL logs. Usually level 2 provides an acceptable level of detail but you can change | + | |
+ | Following | ||
+ | |||
+ | logcache=true | ||
+ | |||
+ | Next up is a setting that defines the level of detail to be contained within the MUTIL logs. Usually level 2 provides an acceptable level of detail but this can be changed | ||
Level 1 = basic \\ | Level 1 = basic \\ | ||
Level 2 = verbose \\ | Level 2 = verbose \\ | ||
Level 3 = debug \\ | Level 3 = debug \\ | ||
+ | |||
+ | Note that the loglevel can also be set in any specific function stanza and that value will override the default value defined here, but only for that specific stanza where a different setting has been applied. | ||
loglevel=2 | loglevel=2 | ||
| | ||
- | Not only can you decide on the name of your MUTIL logging | + | Each entry in the log file is prefixed by a date/time stamp. This stamp by default uses the NNN DD HH: |
- | | + | logstamp = YYYYHHMMHHIISS |
| | ||
- | Next you can define the number of log files to keep (0 to disable | + | === Log Rolling === |
+ | |||
+ | MUTIL supports three settings to assist with automatically maintaining your log files. The logtype option can be set to one of three options, and depending on the option selected, some additional values may be required | ||
+ | |||
+ | ; Log roller type: | ||
+ | ; 0 = Do not roll log files | ||
+ | ; 1 = Roll by number of files/ | ||
+ | ; 2 = Roll by number of days | ||
+ | Setting the logtype option to 0 will disable log rolling entirely. | ||
+ | |||
+ | logtype = 0 | ||
+ | |||
+ | Setting the option to 1 will build each log file until it reaches a configured size, and then it will create a new file. When the configured maximum number of log files is reached, the oldest will be deleted. | ||
+ | |||
+ | logtype | ||
maxlogfiles = 3 | maxlogfiles = 3 | ||
+ | maxlogsize | ||
| | ||
- | And lastly you can define | + | Setting |
- | | + | |
+ | maxlogfiles = 7 | ||
+ | |||
+ | === Other Logging Considerations === | ||
| | ||
Remember if you are going to create different .ini files for various functions listed below you may want to settle on standardizing your general options at the start of each .ini file. | Remember if you are going to create different .ini files for various functions listed below you may want to settle on standardizing your general options at the start of each .ini file. | ||
Line 87: | Line 136: | ||
| | ||
Import_FIDONET.NA | Import_FIDONET.NA | ||
- | Import_MessageBase = false | + | Import_MessageBase = false |
Import_FILEBONE.NA = false | Import_FILEBONE.NA = false | ||
+ | Export_FILEBONE.NA = false | ||
+ | Export_AREAS.BBS | ||
+ | Export_GOLDED | ||
Import_FILES.BBS | Import_FILES.BBS | ||
MassUpload | MassUpload | ||
GenerateTopLists | GenerateTopLists | ||
GenerateAllFiles | GenerateAllFiles | ||
- | PostTextFiles | ||
PurgeMessageBases | PurgeMessageBases | ||
+ | PostTextFiles | ||
PackMessageBases | PackMessageBases | ||
ImportEchoMail | ImportEchoMail | ||
ExportEchoMail | ExportEchoMail | ||
- | MergeNodeLists | + | MergeNodeLists |
- | FileToss | + | FileToss |
- | PackFileBases | + | PackFileBases |
- | LinkMessages | + | FileSort |
+ | LinkMessages | ||
+ | PurgeUserBase | ||
+ | PackUserBase | ||
+ | AutoHatch | ||
+ | EchoNodeTracker | ||
+ | EchoUnlink | ||
+ | | ||
//**NOTE:** All options are assumed to be off (or false) by default. | //**NOTE:** All options are assumed to be off (or false) by default. | ||
Line 111: | Line 170: | ||
====== Function Reference Links ====== | ====== Function Reference Links ====== | ||
+ | * [[mutil_import_fidonet_na|Import FIDONET.NA into Message bases]] | ||
+ | * [[mutil_import_messagebase|Import Message Bases (by datafile analysis)]] | ||
+ | * [[mutil_import_filebone_na|Import FILEBONE.NA into File bases]] | ||
+ | * [[mutil_export_filebone_na|Export FILEBONE.NA from File bases]] | ||
+ | * [[mutil_export_areas.bbs|Export AREAS.BBS from Message Bases]] | ||
+ | * [[mutil_export_golded|Export GoldED Areas Configuration from Message Bases]] | ||
* [[mutil_import_files.bbs|Importing FILES.BBS and similar into File Bases]] | * [[mutil_import_files.bbs|Importing FILES.BBS and similar into File Bases]] | ||
+ | * [[mutil_mass_upload|Mass upload files to all file bases]] | ||
+ | * [[mutil_generate_top_lists|Generate Top Callers, Posters, Downloaders, | ||
+ | * [[mutil_generate_all_files|Generate all files listing]] | ||
+ | * [[mutil_post_text_files|Post text files to message bases]] | ||
* [[mutil_purge_message_bases|Purge Message bases (by age and max messages)]] | * [[mutil_purge_message_bases|Purge Message bases (by age and max messages)]] | ||
* [[mutil_pack_message_bases|Pack and renumber message base]] | * [[mutil_pack_message_bases|Pack and renumber message base]] | ||
+ | * [[mutil_import_echomail|Import Binkley-style FLO echomail/ | ||
* [[mutil_export_echomail|Export Binkley-style FLO echomail/ | * [[mutil_export_echomail|Export Binkley-style FLO echomail/ | ||
+ | * [[mutil_merge_node_lists|Merge nodelists into Mystic format]] | ||
+ | * [[mutil_file_toss|Toss TIC+files into BBS and to subscribed downlinks]] | ||
* [[mutil_pack_file_bases|Pack and check integrity of file base listings]] | * [[mutil_pack_file_bases|Pack and check integrity of file base listings]] | ||
- | * [[mutil_merge_node_lists|Merge nodelists into Mystic format]] | + | * [[mutil_filesort|Sort file base listings]] |
- | + | * [[mutil_link_messages|Perform message base echomail reply linking]] | |
- | + | * [[mutil_purge_userbase|Purge User Base]] | |
- | ====== Example MUTIL .INI Files ====== | + | * [[mutil_pack_userbase|Pack User Base]] |
- | | + | |
- | + | * [[mutil_echo_node_tracker|Echo Node Tracker (various HUB-related utils)]] | |
- | ==== Import FIDONET.NA into Message bases ==== | + | * [[mutil_echo_unlink|Echo Unlink (auto remove dormant |
- | + | ||
- | This is placeholder text. | + | |
- | + | ||
- | ==== Import FILEBONE.NA into File bases ==== | + | |
- | + | ||
- | This is placeholder text. | + | |
- | + | ||
- | ==== Mass upload | + | |
- | + | ||
- | This is placeholder text. | + | |
- | + | ||
- | ==== Generate Top 1 up to 99 Callers, Posters, Downloaders, | + | |
- | + | ||
- | This is placeholder text. | + | |
- | + | ||
- | ==== Generate all files listing ==== | + | |
- | + | ||
- | This is placeholder text. | + | |
- | + | ||
- | ==== Post text files to message bases ==== | + | |
- | + | ||
- | This is placeholder text. | + | |
- | + | ||
- | ==== Import Binkley-style FLO echomail/ | + | |
- | + | ||
- | This is placeholder text. | + | |
- | + | ||
- | ==== Merge nodelists into Mystic format ==== | + | |
- | + | ||
- | This is placeholder text. | + | |
- | + | ||
- | ==== Toss TIC+files into BBS and to subscribed downlinks ==== | + | |
- | This is placeholder text. | ||
- | ==== Perform message base echomail reply linking ==== | ||
- | This is placeholder text. |
mutil_howto.1459242081.txt.gz · Last modified: 2016/03/29 04:01 by avon