An occasional outlet for my thoughts on life, technology, motorcycles, backpacking, kayaking, skydiving...

Tuesday, March 11, 2008

Cleaning up Adium

I was having a problem where Adium would not let me speak in group chats. This is quite annoying as it is common practice in my company to use 3-10 way chat with DBAs, SysAdmins, and developers to get a task completed quickly and have a record of the conversations.

I don't know what caused the problem, but I know that reinstalling Adium didn't fix it. I am certain that the problem is the result of moving my ~/Library/Application\ Support\Adium\ 2.0 directory from machine to machine to machine, etc. and trying out lots of plugins.

My goals where:

  1. Save my chat transcripts/logs

  2. Save my 10+ IM accounts so I don't have to re-enter them again

  3. Have a working Adium again



I pulled it off and here is how

# Exit out of Adium
cd ~/Library/Application\ Support
tar cf Adium.tar Adium\ 2.0/
rm -rf Adium\ 2.0/
# Launch Adium
# I do not know if you HAVE to set up an account via the wizard, but I did
tar xf Adium.tar Adium\ 2.0/Users/Default/Accounts Adium\ 2.0/Users/Default/Accounts.plist Adium\ 2.0/Users/Default/Logs


It is important to note that if you have a conversation you need to keep between the time you "rm -rf Adium\ 2.0/" and "tar xf..." (in the same day, because Adium logs are created 1 per contact per day) you will need to create a second tar and merge the log manually. I had to do this with about 12 conversations because I let 2 days go by before I attempted to recover the backup.

No comments:

Post a Comment

Followers