Content Server Manual / Version 2110
Table Of Contents
The querypublish
tool is a combination of the query and the publish tool. You can start a
synchronous, structured query against the content repository and publish the resulting resources.
usage: cm querypublish -u <user> [other options] [-e] [-l <limit>] -q <query> available options: -d,--domain <domain name> domain for login (default=<builtin>) -e,--versions query all versions -l,--limit <limit> maximum number of results to publish -p,--password <password> password for login -q,--query <query> query string -qf,--queryfile <queryfile> query file location -u,--user <user name> user for login (required) -url <ior url> url to connect to -v,--verbose enables verbose output
Parameter | Description |
---|---|
-e | If set, the query searches for all versions of the content items. |
-l <limit> | Limit the number of results to the given value. |
-q <query> | The query string. |
-qf <queryfile> | A file that contains the query string. |
Table 3.50. Parameters of the querypublish utility
The following example shows how to publish all content items below the /MenuSite/Fish
folder:
cm querypublish -u admin -p admin -q "BELOW PATH '/MenuSite/Fish'"