exp:ezcsvimport
Import content objects of a class below a node from a CSV file (--class, --creator).
Script bin/php/ezcsvimport.php, code in kernel/private/classes/commands/ezcsvimport.php. Run it from the installation root, as the user the web server runs as:
./console exp:ezcsvimport --help
php bin/php/ezcsvimport.php --helpOptions
| Option | Value | Help |
|---|---|---|
--class | required | class identifier to create objects |
--creator | required | user id of imported objects creator |
--storage-dir | required | path to directory which will be added to the path of CSV elements |
Read from the option definitions in the code (startup(), getOptions(), options() or ezcConsoleOption). Every script also takes the standard options of the script framework (--help, --siteaccess, --debug, --quiet, --allow-root-user ...).
Arguments: [node][file].
Related
Generated by ./console exp:help:examples from bin/php/ezcsvimport.php, kernel/private/classes/commands/ezcsvimport.php. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.