1. Home
  2. Wp-cli
  3. Import to sub-site

You can import WXR data files to specific site in the multi-site installation. The --url flag identifies the site you want to migrate data to. Skipping authors is optional.

#wordpress#cli#mu
wp import yoursiteexample.wordpress.2021-10-15.000.xml --authors=skip --url=http://yoursite.com/subsite
copy
Full Wp-cli cheatsheet