84
Installing [email protected]
Because
msg_no
is also italicized, you know that it is a place holder for information that
you must provide. For example, to find out the date for message number 8, you replace
msg_no
with the number 8. Because
mailbox
is inside brackets, you replace it only if you
use that part of the syntax. For example, you may want to delete a message belonging to
mailbox 151.
Whenever a parameter is optional, such as
mailbox
, it has a default. A default is the value
that is used for the parameter whenever the parameter is missing. The default for mailbox
is the current mailbox.
Using the syntax, you can create any number of %I() commands. For example, %I(D,8)
provides the date for message 8 for the current mailbox, and %I(T,6,151) provides the
time for message 6 for mailbox 151.
Both the Extension and Notify Method fields can contain up to 65 characters. If you need
more than 65 characters for your program, you use:
•
A command that reads additional tokens from a file
•
The G() command to tell Amanda to go to the Extension field for another mailbox
and process the tokens she finds there
Files and Directories
This section points out what you need to know about files and file names when using the
Token Programming Language. It assumes that you already know the following and other
facts about files and directories:
•
DOS files are stored in directories.
•
The complete name for a file starts with the root directory (usually C:), lists the
subdirectories leading to the file, and ends with the name of the file, each of which
is separated by a backslash (\).
When you use a DOS file name as a parameter, you must replace each backslash (\) found
in the name with either two backslashes (\\) or one forward slash (/). For example,
C:\AMANDA\FOOBAR.TXT must become either C:\\AMANDA\\FOOBAR.TXT or C:/
AMANDA/FOOBAR.TXT.
You can use variable names as parts of the file name. For example, if %S1 is C:, and %S2
is Amanda, you can use "%S1\\%S2\\FOOBAR.TXT".
Amanda can read text files (also called ASCII files) as well as files in dBase format. The
former have file names that usually end with .TXT, and the latter have file names that end
with .DBF. Amanda can read from, write to, and search files that contain database records.
A record is a way to group pieces of information. For example, your name and address is a
Содержание [email protected] Version 3.xx
Страница 1: ...Installing AmAndA Work Place Version 3 xx Installer s Guide Edition 7 01...
Страница 4: ...iv Installing Amanda Work Place...
Страница 60: ...52 Installing Amanda Work Place...
Страница 68: ...60 Installing Amanda Work Place...
Страница 132: ...124 Installing Amanda Work Place...
Страница 150: ...142 Installing Amanda Work Place...
Страница 156: ...148 Installing Amanda Work Place...
Страница 194: ...186 Installing Amanda Work Place...
Страница 206: ...198Installing Amanda Work Place...