Open miya0001 opened 6 years ago
For this specific use case, exporting & re-importing would create a lot of churn in the database, and produce new IDs.
I think a better solution for this use case would be something like this:
wp post update $(wp post list --post_type=apple --format=ids) --post_type=orange
The mechanism of importing & exporting might still be useful to move from one site to another, though.
I feel it will be very useful
If we want to change the CPT:
We had a conversation with @Kenshino at WordCamp Bangkok.
Related: https://github.com/Kenshino/HelpHub/issues/153