engine:import:setpostscript
This is an old revision of the document!
Table of Contents
SetPostScript
Set a script to be run at the end of source processing.
Phase
This instruction is used by the TapeTrack Import Engine.
Syntax
SetPreScript(command);
string command;
command | The full path to a script or executable to be run with the system(3) call at the end of Import Engine processing. |
Example
SetPostScript: Rename a file with a time stamp after the file is processed.
SetVar2Date(FILENAME, "*", "vmquery-%%Y-%%m-%%d"); |
SetPostScript(“rename vmquery.txt $FILENAME”); |
engine/import/setpostscript.1580225680.txt.gz · Last modified: 2025/01/21 22:07 (external edit)