drush webform-exportfor drush 8x
Exports webform submissions to a file.
webform-export is a Drush command from the webform project.webform
webform-export has 1 alias/es:
webform-export accepts 1 argument/s:
webform : The webform ID you want to export (required unless --entity-type and --entity-id are specified)
webform-export accepts 17 option/s:
--delimiter : Delimiter between columns (defaults to site-wide setting). This option may need to be wrapped in quotes. i.e. --delimiter="\t".
--file-name : File name used to export submission and uploaded filed. You may use tokens.
--header-keys : Set to "label" (default) or "key"
--options-item-format : Set to "label" (default) or "key". Set to "key" to print select list values by their keys instead of labels.
--options-format : Set to "separate" (default) or "compact" to determine how select list values are exported.
--entity-reference-format : Set to "link" (default) or "id" to determine how entity references are exported.
--excluded-columns : Comma-separated list of component IDs or webform keys to exclude.
--entity-type : The entity type to which this submission was submitted from.
--entity-id : The ID of the entity of which this webform submission was submitted from.
--range-type : Range of submissions to export: "all", "latest", "serial", "sid", or "date".
--range-latest : Integer specifying the latest X submissions will be downloaded. Used if "range-type" is "latest" or no other range options are provided.
--range-start : The submission ID or start date at which to start exporting.
--range-end : The submission ID or end date at which to end exporting.
--state : Submission state to be included: "completed", "draft" or "all" (default).
--sticky : Flagged/starred submission status.
--files : Download files: "1" or "0" (default). If set to 1, the exported CSV file and any submission file uploads will be download in a gzipped tar file.
--destination : The full path and filename in which the CSV or archive should be stored. If omitted the CSV file or archive will be outputted to the commandline.
comments powered by Disqus