Another cool feature of Leopard is that iChat transcrips are now organized into folders by date. Whereas before, you'd just have a bazillion files named "Chat with So Andso on 2007-02-12", Leopard now creates directories by date to store your chat transcripts in. It makes it a lot easier when you're just browsing through, or if you want to see all of the conversations from a particular day.

But what if you're a complete freak and have saved all of your chat transcripts from the dawn of time (like me)? Leopard doesn't organize them for you.

You can run these commands to organize them all in one go:

cd ~/Documents/iChats
for i in $(ls | grep \ on\  | sed 's/.* on 200/200/g' | awk '{print $1}' | sort | uniq); do mkdir $i; done
for i in $(find . -type directory | sed 's/\.\///g'); do mv *$i* $i ; done