Skip to main content
Batch Mode Operations
Barracuda Admin avatar
Written by Barracuda Admin
Updated over 10 months ago

The access-cli supports adding and editing most record types in batch mode, using data contained in JSON or CSV files.

Common Flags

Commands that support batch mode operations have four common flags:

  • --from-file specifies the file name from where to read the data.

  • --file-format specifies the format of the file (json or csv). Can be omitted if JSON is used.

  • --continue-on-error instructs access-cli to continue processing records even if the operation fails for one of them. By default, access-cli will quit on the first error. When this flag is passed, access-cli will process the file in its entirety and any errors will be shown in the resulting output.

  • --errors-only instructs access-cli to omit output for successful operations and show only the list of errors, and is meant to be used with --continue-on-error

Did this answer your question?