Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S264254AbTKKEDR (ORCPT ); Mon, 10 Nov 2003 23:03:17 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S264253AbTKKEDR (ORCPT ); Mon, 10 Nov 2003 23:03:17 -0500 Received: from x35.xmailserver.org ([69.30.125.51]:9376 "EHLO x35.xmailserver.org") by vger.kernel.org with ESMTP id S264254AbTKKEDO (ORCPT ); Mon, 10 Nov 2003 23:03:14 -0500 X-AuthUser: davidel@xmailserver.org Date: Mon, 10 Nov 2003 20:03:15 -0800 (PST) From: Davide Libenzi X-X-Sender: davide@bigblue.dev.mdolabs.com To: jw schultz cc: Linux Kernel Mailing List Subject: Re: kernel.bkbits.net off the air In-Reply-To: <20031111034815.GA17240@pegasys.ws> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1120 Lines: 40 On Mon, 10 Nov 2003, jw schultz wrote: > If the history file (or another single file) is enough: > > starthist=`ls -l $CVSROOT/CVSROOT/history` > curhist="" > > while [ "$Starthist" != "$curhist" ] > do > starthist=`ls -l $CVSROOT/CVSROOT/history` > rsync ..... > curhist=`ls -l $CVSROOT/CVSROOT/history` > done BK2CVS does not compile $CVSROOT/CVSROOT/history, but the second one should work: > If not you can test the directory. > > ls -l $CVSROOT/CVSROOT >$TMPFILE.start > touch $TMPFILE.test > > until diff -q $TMPFILE.start $TMPFILE.test >/dev/null > do > ls -l $CVSROOT/CVSROOT >$TMPFILE.start > rsync ..... > ls -l $CVSROOT/CVSROOT >$TMPFILE.test > done > rm -f $TMPFILE.start $TMPFILE.test - Davide - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/