Skip past navigation linksSecure Global Desktop 4.31 Administration Guide > Commands > The tarantella object script command

The tarantella object script command

Syntax

Skip past command syntax or program codetarantella object script

Description

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:

Skip past command syntax or program code$ tarantella object script <<EOF
commands
EOF

If standard input is empty, you can run tarantella object commands interactively.

Examples

Skip past command syntax or program codetarantella 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.

Related topics