dustinac - 2011-12-28

There are no built-in ways to export or import the server list. However, there are some workarounds. The simplest way is to copy the file ~/Library/Preferences/net.sourceforge.chicken.plist from the old computer to the new computer. This will copy everything except passwords: server list, profiles, preferences, and settings for Bonjour servers. The passwords are stored through Keychain and I'm not sure if there's an easy way to import and export them in bulk. Individually, they can be viewed through the Keychain Access utility. They have the names Chicken (saved servers) and Chicken-zeroconf (Bonjour servers).

If you want copy the server list and/or the profiles, but not other preferences, then things get more complicated, but it's still possible. Copy the preferences file from ~/Library/Preferences/net.sourceforge.chicken.plist to your Desktop or somewhere. Now run the command:

plutil -convert xml1 Desktop/net.sourceforge.chicken.plist

This will put the preferences in text format that you can open in your favorite text editor. Scroll down until you get to <key>SavedServers2</key>. Copy from the following this line <dict> to the matching </dict>. Now on the target computer, you repeat the same conversion step and find the SavedServers2 dictionary. Delete this text from the target computer's file and replace it with the text copied from the source. Finally, move the target's preference file back to ~/Library/Preferences/net.sourceforge.chicken.plist.

This only copies the servers and not the profiles. If you want to get the profiles as well, it's stored in the dictionary after <key>ConnectProfiles</key>.

Also, if you have Xcode installed, it comes with a Property List Editor utility which can edit the preference file directly. You might find this more convenient than doing the conversion and then using a text editor.