[CVALE] Comapring a directory tree on Linux...

Pandora cvale at synx.dyndns.org
Tue Nov 28 17:34:26 PST 2006


On Tue, 28 Nov 2006 12:48:12 -0800
"Landon Blake" <lblake at ksninc.com> wrote:

> Specifically, I want to
> determine which folders and files exist in the directory structure for
> the source code of the fork, but not in the original.

Well, if you want the quick and dirty way:
$ diff -Nr original fork | grep '^Only in'

A more exact way would use a script. I'll attach a python script that works. If you can carefully define your problem, then without too much more effort you should be able to whip up scripts like these on demand. It's not a valued skill though, sadly.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dirdiff.py
Type: text/x-python
Size: 487 bytes
Desc: not available
Url : http://lists.fire2wire.com/pipermail/cvale/attachments/20061128/353c9764/dirdiff.py


More information about the cvale mailing list