I want to compare difference of two whole directory (with
subdirectories). Is vimdiff help in this case? I know, there is a
program winmrege on windows can do this task, but I am finding a
solution on Linux. Any suggest will be highly appreciated.
Thanks.
-
narke
google shows over 5,000 hits and none look familiar -- if
you are interested, and can't find them, i can post them
here or somewhere, but the names will probably suffice for
you to find them
sc
diff -R foo/ bar/ | vim or such..
also have a look at
http://www.vim.org/scripts/script.php?script_id=102
However its much slower to use.
So it depends on your use case.
Marc Weber
Hi, Everyone
Thanks for your inputs. DirDiff seems suitable to me. I can not
undersand the Japanese web page, but I think I can learn something at
http://www.vim.org/scripts/script.php?script_id=102
I will be trying it :)
On my system, diff rejects -R as "invalid option". Looking into "man 1
diff" or "info diff" shows that it should have been either -r or
--recursive (but in lowercase).
You may want other options to define the diff format -- RTFM. Note that
AFAICT diff will not only list files present in only one directory tree,
but also compare the contents of files common to both. (I tried -ry
which wasn't very impressive, and -rC1 which was better.)
The first line of the output of "diff --version" is here
diff (GNU diffutils) 2.8.7-cvs
> also have a look at
> http://www.vim.org/scripts/script.php?script_id=102
> However its much slower to use.
>
> So it depends on your use case.
>
> Marc Weber
Best regards,
Tony.
--
"Nuclear war would mean abolition of most comforts, and disruption of
normal routines, for children and adults alike."
-- Willard F. Libby, "You *Can* Survive Atomic Attack"
On my system, diff rejects -R as "invalid option". Looking into "man 1
diff" or "info diff" shows that it should have been either -r or
--recursive (but in lowercase).
You may want other options to define the diff format -- RTFM. Note that
AFAICT diff will not only list files present in only one directory tree,
but also compare the contents of files common to both. (I tried -ry
which wasn't very impressive, and -rC1 which was better.)
The first line of the output of "diff --version" is here
diff (GNU diffutils) 2.8.7-cvs
> also have a look at
> http://www.vim.org/scripts/script.php?script_id=102
> However its much slower to use.
>
> So it depends on your use case.
>
> Marc Weber
Best regards,