Move pidgin data

I recently got an Asus EeePC 900 laptop. I tried the default Xandros Linux for a short while and promptly overwrite it with Ubuntu Hardy 8.04. The installation was straightforward, but the customizations required were convoluted. When I find the time, I will post about the various hacks that need to be applied.

However, this post is about moving pidgin data. Having a tiny laptop is great, but I wanted to move my pidgin data, i.e. settings, accounts, and contacts, from my desktop PC to the laptop. It turned out that moving pidgin data around is truly simple: copy the sub-directory ~/.purple from one PC to another and you are done.

But what if you want to move the data to and fro? I am sure you can accomplish this with rsync somewhere, but I opted for a simple sneaker net via a usb thumbdrive. First, I format the drive to ext3, then set the label so it will always mount to the same directory:

sudo e2label /dev/sdb1 mobisett

where the /dev/sdb1 is the drive, and mobisett is the mount directory. The next time I plug the drive into any Ubuntu PC, it will mount to /media/mobisett.

Then, copying pidgin data is by one cp command. To store the data to the drive:

cp -r ~/.purple /media/mobisett/pidgin

And to restore the data from the drive:

cp -r /media/mobisett/pidgin ~/.purple

Comments 2

  1. Autumn Sandeen wrote:

    Thanks. This was very helpful. My computer crashed, and I had to get the Pidgin account data from encapsulated data from my hard drive. This made it easy to do.

    Again, thanks.

    Posted 23 Sep 2010 at 1:47 pm
  2. chewearn wrote:

    Glad to be of assistance. :)

    Posted 23 Sep 2010 at 2:28 pm

Post a Comment

Your email is never published nor shared. Required fields are marked *