Hi I have a wordpress website and want to update via wp-cli.
Will the command wp core update
leave the wp-content folder alone?
[user@server]$ wp core update will not update the wp-content folder ideally.
You should be careful with WP CLI as it can upgrade to a major version of wordpress instead of a minor one. This might lead to plugin incompatibility.
Please use the following commands to check the version and upgrade to a minor version if necessary.
[user@server]$ wp core version
[user@server]$ wp core update --minor
Also it is a very good idea to take a complete backup before updating your wordpress installation.
You can use a free plugin like Duplicator which will give you a nice backup for your installation.
Happy updating!!