User Tools

Site Tools


mutil_import_filebone_na

This is an old revision of the document!


Import FILEBONE.NA into file bases

The '[Import_FILEBONE.NA]' stanza tasks MUTIL with running a function that will bulk auto create a number of file bases in Mystic for you.

MUTIL looks to a specially formatted text file that you specify. It's formatted with area tag and a description of the file base. Mystic then will create the files bases contained in this file en-mass and quickly!

Here's an example of a .NA file that comes from fsxNet

% File Echo                   Description
%
Area FSX_NODE     0     !       FSX: Current Nodelist
Area FSX_INFO     0     !       FSX: Current Infopack
Area FSX_MYST     0     !       FSX: Mystic BBS Software, Utils etc.
Area FSX_MGKA     0     !       FSX: Magicka BBS Software, Utils etc.
%
% End of FSXNet Fileecho List

To enable this function you modify the '[general]' stanza as follows:

[general]

Import_FILEBONE.NA      = true

There a several switches you can configure that relate to this function.

The filename to read when running the import process.

; filename to import
  filename = fsx_file.na
  

Should Mystic convert area tags to lowercase?

; convert tags to lower case for message base filename  1=yes
  lowercase_filename = 1

Define the root directory to create file paths under. When a new filebone echo is found, mUtil will create a file using “root_dir” + areatag. So for example if root is “c:\mystic\filebase\” and the areatag is MYSTICBBS it will create “c:\mystic\filebase\MYSTICBBS”. This root directory MUST exist.

mutil_import_filebone_na.1461548347.txt.gz · Last modified: 2016/04/24 20:39 by avon

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki