Re: Resulting difference between 2 directories
On Wednesday 16 June 2004 09:12 am, Lowell Gilbert wrote: > Gerard Samuel <[EMAIL PROTECTED]> writes: > > On Tuesday 15 June 2004 05:04 pm, Julian M. Mason wrote: > > > Given that, though, half an hour with a {python, perl, php, shell, etc} > > > {book, website} will probably produce a better result. > > > > So I thought. I'll start getting my thoughts together for the code. > > I think that (Gnu) tar with an option to only pick up files since a > given timestamp would do this fairly easily. Of course, it is also > probably a five-line shell script. You are absolutely correct. Thanks ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Resulting difference between 2 directories
Gerard Samuel <[EMAIL PROTECTED]> writes: > On Tuesday 15 June 2004 05:04 pm, Julian M. Mason wrote: > > Given that, though, half an hour with a {python, perl, php, shell, etc} > > {book, website} will probably produce a better result. > > > > So I thought. I'll start getting my thoughts together for the code. I think that (Gnu) tar with an option to only pick up files since a given timestamp would do this fairly easily. Of course, it is also probably a five-line shell script. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Resulting difference between 2 directories
On Tuesday 15 June 2004 05:04 pm, Julian M. Mason wrote: > Given that, though, half an hour with a {python, perl, php, shell, etc} > {book, website} will probably produce a better result. > So I thought. I'll start getting my thoughts together for the code. Thanks ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Resulting difference between 2 directories
Tools like unison do something (sort of) like this; they synchronize directories. The way I use unison (keeping a dir, which is only edited from one place at a time, consistent across several machines), it could be pretty easily adapted to this task. Given that, though, half an hour with a {python, perl, php, shell, etc} {book, website} will probably produce a better result. --Mac On Tue, Jun 15, 2004 at 04:37:04PM -0400, Gerard Samuel wrote: > 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 > ___ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > -- Julian "Mac" Mason [EMAIL PROTECTED] Computer Science '06 (909)-607-3129 Harvey Mudd College ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"