Mar.08

WordPress XML Splitter (again!)

WordPress XML Splitter (again!)

In the last eight months or so I’ve been getting plenty of e-mails asking for a copy of the mainSplit.py Python script I wrote ages ago. It basically takes in a large WP backup XML file and splits it in to chunks of less than 2mb. Apparently some tech blogs also linked to the previous website where the script was hosted but since that site is pretty much dead for some time the script also doesn’t exist. The Python script works well with all operating systems but I believe there are other alternatives for Windows users. For Mac users not comfortable with Terminal, I’ve wrapped up the script in an app using Platypus. I am putting up the script back here again together with the OS X app and both these files can be downloaded using the links below.

Python mainSplit.py script

OS X application: WP XML Splitter

(Image Source:  Centennial Arts)

Uncategorized
Share this Story:
  • facebook
  • twitter
  • gplus

About anasimtiaz

Comments(2)

  1. Toby
    858 days ago

    Hello Anasimtiaz,
    Thank you for this script. Unfortunately when I run it on a 36MB file it has generated 25,586 separate little files!
    Toby

    • anasimtiaz
      840 days ago

      If you still haven’t solved the problem I am happy to have a look to see what’s going wrong.

Leave a comment

Comment