Re: Fast and Slow sync
- From: Eskil Heyn Olsen <deity dbc dk>
- To: Vadim Strizhevsky <vadim optonline net>
- cc: gnome pilot list <gnome-pilot-list gnome org>
- Subject: Re: Fast and Slow sync
- Date: Mon, 18 Oct 1999 21:22:18 +0200 (CEST)
On Sun, 17 Oct 1999, Vadim Strizhevsky wrote:
> For testing purposes, is there quick & dirty way to force a SlowSync
> of certain database? Even if I just did sync immediately before?
Change the host id using the capplet. Or using this script : (you're not
the first to want to do that...)
#! /bin/bash
CFG=~/.gnome/gnome-pilot.d/gpilotd
HOSTID=`cat $CFG|grep sync_PC|sed 's/sync_PC_Id=//'`
NEWHOSTID=$[$HOSTID + 1]
echo $NEWHOSTID
mv $CFG $CFG.tmp
SEDSTRING=s/$HOSTID/$NEWHOSTID/
cat $CFG.tmp | sed $SEDSTRING > $CFG
rm $CFG.tmp
/dev/eskil
---
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]