Import an entire catalog
cat import <catalog> <dir> [--force] [ user=<user> [ pwd=- ] ] [ --preserve_acl | --preserve_local_acl ]
Name of catalog to be imported. May specify one of the following:
a) <application>/<catalog>
b) /<catalog>
Name of exchange directory from which the catalog is to be imported. The directory may be one of the following:
- Directory relative to /vol/_impex
- URL with the following format 'http://<path>'
Option to allow importing of catalog even if it is already present (that is, each class is removed and then imported)
Name of user to use for authentication purposes when importing the catalog from a URL
(Optional) Prompt for password to use for authentication purposes when importing the catalog from a URL. If the standard input is not a terminal device, it will not print a prompt and expect only one copy of the password on 'stdin' (this can be used for batch operations, to set the password from a file).
Preserve the global catalog ACL if it is present.
Preserve local principals in the global catalog ACL.
cat import my-app/local catalog
Import all classes to local catalog of application 'my-app'
cat import /system catalog
Import all classes to global catalog
|
Copyright © 2013 CA.
All rights reserved.
|
|