limrepo export

Note: For instructions on installing and running the Administration Utility, see Getting Started with the Administration Utility.

The limrepo export command exports named resources (such as named tables) from the Spectrum Spatial repository to a local file system. You must have Spectrum Spatial installed to use this command.

Resources are exported with their full repository paths in the target folder. For example, if you run limrepo export --s /Samples/NamedTables --o C:\export, the tool creates C:\export\Samples\NamedTables\WorldTable, and so on for each named table under the NamedTables folder or directory.
Note: The limrepo export command will always recursively export all folders, including empty ones.

Usage

limrepo export --s SourceRepositoryPath --o OutputFilePath
Note: To see a list of parameters, type help limrepo export.
RequiredArgumentDescription
Yes--s or sourceSpecifies the path to the resource or a folder to be exported.
Yes--o or outputSpecifies the path to a folder on the local file system where you want to export. This can be a new folder or an existing folder; however, an existing folder must be empty otherwise the export will fail.
No--q or --quietDisables the display of the resources copied during the export; that is, operates in quiet mode.

If the flag is specified, the default is true. If the flag is not specified, the default is false.

No--f or --fullpathsPrints the full source and output paths.

If the flag is specified, the default is true. If the flag is not specified, the default is false.

No--r or --recursiveRecursively exports subfolders (children of the specified source).
true

All files under the specified folder location and files under all subfolders export. This is the default setting if the flag is not specified or if the flag is specified without a value.

false

Only those files under the specified folder location export (subfolders do not export).

Specifying false increases the possibility that the export will contain named resources with references to resources that have not been exported. This flag should be used with extreme caution and by those who understand all the relationships of their repository.

No--c or --continueonerrorContinues with the export if an error occurs.

If the flag is specified, the default is true. If the flag is not specified, the default is false.

No--a or --aclPreserves existing permissions for the exported resources in the export folder on the local file system. An access control list (ACL) indicates the operations each user or role can perform on a named resource, such as create, view, edit, or delete.

If the flag is specified, the default value is true. If the flag is not specified, the default value is false.

Example

This example exports the named resources in the repository's \Samples folder to C:\myrepository\samples on your local file system.

limrepo export --s /Samples --o C:\myrepository\samples