Bug Report
I have around 2.6k images in a subdirectory inside wp-content/uploads/product_images.
I tried to import them but get the following error:
$ wp media import ./product_images/*.png --skip-copy
/.../Composer/vendor/wp-cli/wp-cli/bin/wp: line 45: /c/xampp/php/php: Argument list too long
/.../Composer/vendor/wp-cli/wp-cli/bin/wp: line 45: /c/xampp/php/php: No error
The command evaluates the blob and just appends all files as arguments for the php command which seems to be too long for php to handle.
Bug Report
I have around 2.6k images in a subdirectory inside
wp-content/uploads/product_images.I tried to import them but get the following error:
The command evaluates the blob and just appends all files as arguments for the php command which seems to be too long for php to handle.