ControlTier > core
 

replace

Command Reference

Description

replace string

Replace is a directory based command for replacing the occurrence of a given string with another string.

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

Usage

ctl -m textutil -c replace -basedir <> [-exts <.xml,.properties,.txt,.rdf,.html,.template,.conf>] [-filebase <*>] -token <> -value <>

Options

Option Description Type Default
basedir directory to search string ${entity.attribute.basedir}
exts comma-separated list of extensions to search string .xml,.properties,.txt,.rdf,.html,.template,.conf
filebase filename minus extension string *
token token to find string
value string to replace token with string