vcimport

usage: vcimport [options]

This command imports exports made with the vcexport command.

OptionDescription

[-d, --directory]

This option is mandatory and is used to state from which directory you want to import data.

[-y, --dryrun]

Use this option to parse import files without importing them.

[-f, --folders]

Use this option to specify which folders you want to include in the import. For example, mzsh <user name>/<password> vcimport -d MyDirectory/ -f Default ECS will import the configurations in the folders Default and ECS. If this option is not used, configurations in all folders will be included.

[-m, --message]

Use this option to add a message to identify the import.


Return Codes

Note!

If a key or name conflict occur, the imported data will not overwrite existing configurations.

Listed below are the different return codes for the vcimport command:

CodeDescription

0

Will be returned if the import was successful.

1

Will be returned if the command could not be interpreted, e g if a option that does not exist has been entered.

2

Will be returned if the import failed.

3

Will be returned if the folder you want to import from, stated with the -d, --directory option, does not exist.

5

Will be returned if the folder(s) stated, when using the -f, --folders option, does not exist.