23/09/2011

batch convert svg->pdf with Inkscape

for file in *.svg; do inkscape -z -f=$file -A=${file/.svg/.pdf}; done
In other words, RTFM ;)

02/09/2011

Corrupted directory on NTFS partition

...which I hadn't done for 6 weeks (expect snarky comments from daWuzzzz below). Imagine my joy when Kubuntu came up with I/O errors trying to open my research data directory. Of course, it had to be the single most important directory on my computer, everything else on my NTFS partition was fine. And of course it had to happen at 2am. Windows wasn't more helpful and just displayed a 'corrupted directory' message. In retrospect, I suspect a damaged master file table. A quick summary of last night: