A console command for importing catalog files.
composer require cedricblondeau/magento2-module-catalog-import-command
php bin/magento module:enable CedricBlondeau_CatalogImportCommand
php bin/magento setup:upgrade
php bin/magento catalog:import [-i|--images_path[="..."]] [-b|--behavior[="..."]] csv_file
--images_path
: (defaultpub/media/catalog/product
) must be a relative path starting from your Magento2 project root--behavior
: (defaultappend
) possible values: append, add_update, replace, delete- csv_file: could be a relative or an absolute path to a valid CSV file