CLI commands
Command | Description | ||
---|---|---|---|
To correctly check when an image has changed when importing images or videos through the media import, the
The CLI command
|
|||
With CLI command |
Initialization for media import
Example - No filter
- Command
-
Execution pacemaker:import-media:init without filter
bin/magento pacemaker:import-media:init
- Output
-
Initialize product media gallery data for Pacemaker import 100/100 [============================] 100% < 1 sec 86.5 MiB | /f/e/fe9fc289c3ff0af142b6d3bead98a923.jpg Media gallery images initialized successfully for Pacemaker import
Example - With filter
- Command
-
Execution of the CLI command
pacemaker:import-media:init
with additional filterbin/magento pacemaker:import-media:init -f <<FILTER>> (1)
1 The filter option restricts the file paths/filenames of the image/media files during import. - Example
-
bin/magento pacemaker:import-media:init -f /c/9/ (1)
1 The filter option restricts the file paths/filenames of the image/media files during import. - Output
-
Display description
Initialize product media gallery data for Pacemaker import- with filter option "/c/9/". 1/1 [============================] 100% < 1 sec 84.5 MiB | /c/9/c9f0f895fb98ab9159f51fd0297e236d.jpg Media gallery images initialized successfully for Pacemaker import
Delta-Indexing
Example
- Command
-
Execution pacemaker:index:delta without any params
bin/magento pacemaker:index:delta
- Output
-
Delta reindexing for design_config_dummy, customer_dummy, catalog_category_product, catalog_product_category, catalogrule_rule, catalog_product_attribute, inventory, catalogrule_product, cataloginventory_stock, targetrule_product_rule, targetrule_rule_product, catalog_product_price, catalogsearch_fulltext, salesrule_rule, store_data_exporter, sales_order_data_exporter, sales_order_status_data_exporter, elasticsuite_categories_fulltext, elasticsuite_thesaurus DELTA-Indexing elasticsuite_thesaurus 0 (pending) 19/19 [============================] 100% 1 sec Delta reindex finished successfully.