Copyright 2021 Simon Quantrill, All Rights Reserved

Import TomBoy to Macjournal

Wed 12 October 2011

I needed all my old notes in toboy and could find an easy way to do it so I knocked up this script for i in .note; do title=$(/usr/bin/xpath -q -e ‘/note/title’ $i | sed -r ‘s%^(.</em>)%1%g’) text=$(xpath -q -e ‘/note/text’ $i;) echo $text > $title.txt done thought i would add it here for anybody that might need it

on the top