يمكنك البحث عن نص كائنات الكتالوج واستبداله برمجيًا باستخدام واجهة سطر أوامر Catalog Manager. على سبيل المثال، يمكنك كتابة سكربت لإعادة تسمية المجلدات والملفات والمصنفات والكائنات الأخرى الموجودة في الكتالوج.
صياغة للبحث عن النص واستبداله
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>
مثال
في هذا المثال، يمكنك إعادة تسمية مجلد الكتالوج بالاسم الإيرادات. اسم المجلد الجديد هو تقارير المبيعات:
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>