wp-cli download wordpress core files without default wordpress themes twenty*


Staff member
Using wp-cli <a href="https://make.wordpress.org/cli/handbook/installing/#installing-on-windows" rel="nofollow noreferrer">on Windows</a> all works fine.

When I am in project root folder I like to download the WordPress core files skipping all the WordPress default themes twenty*.

For that I use the command
wp core download --skip-themes --debug
however it always downloads all the default themes.

How can I get wp-cli to only really give me the core files <strong>without</strong> the included default WordPress themes?

Is there a wp-cli command for deleting folders perhaps?

If this cannot be done with wp-cli what other ways could I use to always automatically remove the default themes from the WordPress core download without actually going into the project folder?