TapeTrack Documentation

Because there is more to tape management than you ever realized

User Tools

Site Tools


concepts:definition_file

Definition File

A Definition file is used by TapeTrack to define the format of imported data from files.

Definition files use a .ttidef prefix

Command Line programs that use a definition file will look for a file named default.ttidef in the running directory if no file name is specified in the program call.

Sample Definition File

default.ttidef

SetFile("Inventory.csv");

SetCSVDelimiter(",");

SetLiteral(CUSTOMER, "US01");
SetLiteral(MEDIA, "LTO");

Extract(VOLUME, 1, 25, 0);
RemoveSpaces(VOLUME);

Extract(REPOSITORY, 2, 20, 0);
RemoveSpaces(REPOSITORY);
concepts/definition_file.txt · Last modified: 2021/07/22 03:26 by scunliffe