On Friday 12 September 2003 05:43 pm, Nick Tarleton wrote:
> On Friday 12 September 2003 05:14 pm, Toad wrote:
> > On Fri, Sep 12, 2003 at 05:07:06PM -0400, Nick Tarleton wrote:
> > > On Thursday 11 September 2003 07:24 pm, Mr Zenaan Harkness wrote:
> > > > And the point of raising it here - how would one go about achieving
> > > > this. At the moment all I can think of is everyone manually clicking
> > > > on a bunch of links and hoping that pulls stuff through, but that
> > > > seems terribly inefficient - you want a spider type thing - or some
> > > > automatic cache-copying or something. ???
> > >
> > > Just transferring one way:
> > > cp -rf /node/one/directory/store /node/two/directory
> > > rm -f /node/two/directory/store/index
> > > Or if merging, do that and then:
> > > rm -rf /node/one/directory/store
> > > cp -rf /node/two/directory/store /node/one/directory
> >
> > Lose the rm -rf's. Then it will merge. And remove store/index* or the
> > nodes may not see the new data.
>
> Actually, the way it is now:
> 1. merge store 1 into store 2
> 2. remove store 2 index
> 3. remove store 1
> 4. copy store 2 to node 1
> So technically the first is merging, but one way only.
Come to think of it, dropping step 3 would cause step 4 to go faster. D'oh.
But then you also have to remove node 1's index.
--
"I love deadlines. I love the whooshing sound they make as they go by."
- Douglas Adams
Nick Tarleton - [EMAIL PROTECTED] - PGP key available
_______________________________________________
Devl mailing list
[EMAIL PROTECTED]
http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/devl