Command Central 10.1 | Command Central Developer Reference | Using the Command Line Interface | Repository Commands | sagcc exec repository refresh
 
sagcc exec repository refresh
Refreshes the products or fixes in a mirror repository.
Syntax
*Command Central syntax:
sagcc exec repository {products | fixes} refresh repo_name   [options]
*Not supported on Platform Manager.
Arguments or Options
Argument or Option
Description
repo_name
Required. The name of the mirror repository that you want to refresh.
[options]
Optional. The command allows all options supported by the Command Line Interface. For a description of the options, see Common Options.
Usage Notes
The command uses the source repositories and list or artifacts (products or fixes) defined at the time of creating or updating the mirror repository. When refreshing a fix mirror repository, the command also uses the product repositories and product list, defined at the time of creating or updating the fix mirror repository. For a product mirror repository, the command uses the operating system(s) specified when creating the repository.
Example When Executing on Command Central
*To refresh the product mirror repository with name “webMethods-9.10_myrepo” with the new products from the source repository, from which it was created:
sagcc exec repository products refresh webMethods-9.10_myrepo
*To refresh the fix mirror repository with name “mirror1” with the new fixes from the source repository, from which it was created:
sagcc exec repository fixes refresh mirror1