I've been using the MoinMoin wiki in-house quite a lot lately. I like its design. It's very flexible in how it may be deployed and is easy to extend.

One feature I especially like that was introduced in version 1.6 is the ability to synchronize pages between two different wiki instances. So now I'm running it on my desktop and my laptop and I can very easily sync pages. So it's become my personal information management system for all types of information.

But one limitation in the synchronization that still exists is the ability to sync attachments. No doubt this will be addressed in future versions of MoinMoin, but in the meanwhile I have written a script to handle that.

The limitations of this script are as follows:

  1. You must have SSH/SCP access between the two wiki directories, and it must be configured such that you do not need to enter a password. This is very easy to do. Let me know if you have a problem.
  2. You should do a regular sync before doing an attachment sync
  3. You have to run the command manually; i.e., not from inside a web page on your wiki.

I've included a copy of the script to this page. There is extensive documentation inside the script.


sync_attachments.py.gz


Page last modified on February 08, 2008, at 12:42 PM