カタログ・マネージャ・コマンドライン・インタフェースを使用して、カタログ・オブジェクトのテキストをプログラムで検索および置換できます。たとえば、スクリプトを記述して、フォルダ、ファイル、ワークブック、およびカタログのその他のオブジェクトの名前を変更できます。
テキストの検索と置換を行う構文
runcat.sh -cmd replace -online <Oracle Analytics Cloud URL> -folder <root folder to start find> textreplace -old "<string to replace> -new "<new string>" -credentials <file with login username and password>
例
この例では、Revenueというカタログ・フォルダの名前を変更します。新しいフォルダ名は、Sales Reportsです:
runcat.sh -cmd replace -online "https:/myoac.ocp.oraclecloud.com/analytics-ws" -folder "/Shared/North America" textreplace -old "/Shared/North America/Revenue" -new "/Shared/North America/Sales Reports" -credentials /scratch/mycredentials.txt
ここで、資格証明ファイルには次の行が含まれています:
login=<userid> pwd=<password>