8 Mar 2004 Leimy   » (Master)

For you Mac OS X 10.3 folks running Mail.app:

You may or may not notice that content_index files get very large in your ~/Library/Mail folder.

To find them do "find . -name "content_index" -print0 | xargs -0 ls -l

If you have many mailboxes and accounts this can get pretty big... I checked mine today and it was 1456KB.

I used this one liner script to calculate:

echo `find . -name "content_index" -print0 | xargs -0 ls -l | awk 'END { for (i = 1; i < NR; ++i) print "+"; print "1024/p"} {print $5}' | dc` kilobytes

It's using awk to pipe commands to dc... reverse polish notation rules.

Latest blog entries     Older blog entries

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!