Greetings, Fergus!
Is there an easy way to compare two directories for content (names only
of subdirectories and files, not their identical content).
What you want it for? If you only need it for your own convenience, you can
use compare tool included in file managers like Wincommander or Far
On Fri, Mar 30, 2012 at 12:55 PM, Andrey Repin wrote:
Greetings, Fergus!
Is there an easy way to compare two directories for content (names only
of subdirectories and files, not their identical content).
ls -1 dir1 /tmp/dir1.out ls -1 dir2 /tmp/dir2.out diff -u
/tmp/dir1.out /tmp/dir2.out
Is there an easy way to compare two directories for content (names only
of subdirectories and files, not their identical content).
(1) diff compares the content of files: too strong a comparison;
(2) Could find both directories and then compare output, but this will
list the entire content
On 3/29/2012 11:25 AM, Fergus wrote:
Is there an easy way to compare two directories for content (names only
of subdirectories and files, not their identical content).
(1) diff compares the content of files: too strong a comparison;
(2) Could find both directories and then compare output, but
4 matches
Mail list logo