tarantella object script
Runs a batch script of tarantella object
commands, or
allows commands to be run interactively.
The batch script consists of standard tarantella object
commands, one per line, without the tarantella
object
prefix. For example, you would use edit
rather
than tarantella object edit
.
The batch script may use \
to break commands across
multiple lines. Lines beginning #
are treated as comments
and ignored.
If you need to include quotes (") or a backslash (\) character
in any of the values for the commands, you must backslash protect them. For example, to
use "c:\ Program Files" as a value for the --args
option, you
must type --args "\"c:\\Program Files\""
The command reads from standard input. For example, you can use a "here-document" to run a batch script:
$ tarantella object script <<EOF commands EOF
If standard input is empty, you can run tarantella object
commands interactively.
tarantella object script <<EOF add_link \ --name ".../_ens/o=Indigo Insurance/ou=Sales" \ ".../_ens/o=Indigo Insurance/ou=Marketing" \ --link ".../_ens/o=Indigo Insurance/cn=Applications" edit \ --name ".../_ens/o=Indigo Insurance/ou=Sales" \ --inherit false EOF
Adds the group Applications to the organizational units Sales and Marketing, and sets the Sales OU's Inherit Parent's Webtop Content attribute to false.