From owner-freebsd-questions@FreeBSD.ORG Tue Jun 15 20:38:51 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C62ED16A4CE for ; Tue, 15 Jun 2004 20:38:51 +0000 (GMT) Received: from sccrmhc13.comcast.net (sccrmhc13.comcast.net [204.127.202.64]) by mx1.FreeBSD.org (Postfix) with ESMTP id 88EDD43D64 for ; Tue, 15 Jun 2004 20:38:51 +0000 (GMT) (envelope-from fbsd-questions@trini0.org) Received: from hivemind.trini0.org (trini0.org[65.34.205.195]) by comcast.net (sccrmhc13) with ESMTP id <2004061520370501600854i5e>; Tue, 15 Jun 2004 20:37:05 +0000 Received: from gladiator.trini0.org (gladiator.trini0.org [192.168.0.3]) by hivemind.trini0.org (Postfix) with ESMTP id EF28DD2 for ; Tue, 15 Jun 2004 16:37:04 -0400 (EDT) From: Gerard Samuel To: freebsd-questions@freebsd.org Date: Tue, 15 Jun 2004 16:37:04 -0400 User-Agent: KMail/1.6.2 MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <200406151637.04727.fbsd-questions@trini0.org> Subject: Resulting difference between 2 directories X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Jun 2004 20:38:51 -0000 The scenario. I have 2 snapshots of a CVS repository (old & new), and I would like to execute a script/command that goes through the directories, and produces another directory, that contains, the difference of the 2 directories where it contains all the newer files/directories. So basically, Im looking for a way to just get whats changed between the snapshots, so that it can be distributed. Now this scenario does not have to be restricted to just CVS snapshots, it can be any 2 directories. I can probably come up with a php script that would do as described above, but Im checking with the list to see if there are any already available tools/ports, that I can use to accomplish this task. Thanks