Now blogging at diego's weblog. See you over there!

mt-rebuild: rebuilding movabletype from the command line

My attempt yesterday at doing a full rebuild ended in pathetic failure as the normal load on the machine plus the Rebuild process meant that the page never got to the second stage. This was clearly a problem with timeouts on the web browser (through which MT is 100% controlled) because of the speed at which the process happened, rather than the process itself. So I spent some time today looking for a way to manage MovableType from the command line. I had done this before a few weeks ago but didn't get anywhere, this time I had more luck and I quickly found Timothy's excellent mt-rebuild: The rebuild script to end all rebuild scripts, which solved my problem (it did take a few hours to do a full rebuild though, which has nothing to do with the script and everything to do with the machine's load and speed) with a simple command of the form " -mode="all" -blog_id=xx". Only comment I'd have is that it doesn't seem to have a switch to provide feedback, so you don't know what's going on, but so what, it's not as if it's a consumer application or anything.

Yes, this is old hat (release date was almost a year ago) but I missed it when it came out and we know how it is with the web and its tendency to bury yesterday's news under a new avalanche of discussion, comments, posts, news, and other interesting stuff :).

This is exactly what I needed, thanks Timothy for making it available!! His other MT plugins are pretty cool too, including mt-publish-on, which I'll check it out when I have the time, since I've talked about something like it before.

Good stuff.

Categories: technology
Posted by diego on February 2 2004 at 10:04 PM

Copyright © Diego Doval 2002-2011.
Powered by
Movable Type 4.37