[Evolution] Moving settings between computers
Brett Johnson
brett@fc.hp.com
Wed, 01 Dec 2004 13:48:40 -0700
--=-3YMddUc4nNLfDtrmIogd
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
On Wed, 2004-12-01 at 13:35 -0600, Jeff Mitchell wrote:
> Hey folks,
>
> I have Evolution on my home computer with several (6+) accounts on it,
> and lots of offline folders, as well as some filters. I'd like to
> transfer this information over to my work computer without having to
> re-add all the accounts and filters and settings manually, but can't
> seem to get it to work.
I use the attached script to do the job...
Cheers!
--
Brett Johnson <brett@hp.com>
- i n v e n t -
--=-3YMddUc4nNLfDtrmIogd
Content-Disposition: attachment; filename=evolution-sync-to
Content-Type: application/x-shellscript; name=evolution-sync-to
Content-Transfer-Encoding: 7bit
#!/bin/sh
if [ "$1" == "" ]; then
echo "usage: $(basename $0) <destination host>"
exit 0;
fi
TO_HOST=$1
GCONF_DUMP=~/.evolution/gconf-evo.dump.xml
ssh -A $TO_HOST DISPLAY=:0 evolution --force-shutdown
evolution --force-shutdown
gconftool-2 --dump /apps/evolution > $GCONF_DUMP
rsync -av ~/.evolution $TO_HOST:
ssh -A $TO_HOST DISPLAY=:0 gconftool-2 --load=$GCONF_DUMP
--=-3YMddUc4nNLfDtrmIogd--