Last update 30-Jan-2001

 

MBSE BBS Setup - File Echo's Setup - Magics Files Setup.

Introduction.

Magics are special actions that you can perform if files received in a .tic area. The actions are: copy file to a directory, unpack file in a directory, set number of files to keep, move file to another .tic area, update magic request alias, adopt file into another area, store in another path, delete file (don't process it further) and execute a command. The edit screen is different for all kinds of actions you select. More than one magic record may exist for each area. With all these actions you can for example can setup processing of nodediff's and unpacking nodelists in the nodelist directory.

 

Magics Setup.

Magic     The action to perform, select with the spacebar.
Filemask  The filemask to scan for. "?" Matches all characters,
          "#" matches any digit and "@" any alpha character.
Active    If this magic is active.
Deleted   If this magic must be deleted.
Area      The area in which this magic is found.
To path   The destination path. (Copy, Other path and Unpack).
To area   The destination area. (Adopt and Move).
Command   The command to execute. (Execute).
Keep #    The number of files to keep. (Keep).
Compile   Trigger "compile nodelists". (Copy, Unpack and Execute).

 

Macro's

In the commandline for the magic execute command you may use macro's to replace parts of the commandline. The following macro's are defined:

%F   Replaced by the full path and filename of the file.
%P   Replaced by the full path to the file.
%N   Replaced by the filename without dot and extension.
%E   Replaced by the extension of the filename.
%L   The last 2 characters of the filename extension.
%D   The day number of the year, 3 digits.
%C   The last 2 digits of the day number of the year.
%A   The .tic area name.

BackBack to File Echo's Setup  BackBack to index  HomeBack to main index