ControlTier > core
 

find-objects

Command Reference

Description

Query project for objects matching query params.

This command is used to query the active model on the server for any objects matching the option specifications and saves the result in a session that can be used by purge-objects.

Example: Find all objects of zip type:

ctl -p project -m ProjectBuilder -c find-objects --\
	  -type zip
	  

static: This command can be run outside of an object context.

Usage

ctl -m ProjectBuilder -c find-objects [-name <.*>] [-purge] [-session <find.session>] [-type <Managed-Entity>] [-useregex <true>]

Options

Option Description Type Default
name object name (or regex) string .*
purge purge found objects boolean
session session name string find.session
type object type name (or regex) string Managed-Entity
useregex Use regexes to match object name and type string true