Solved

comparing a group of files

Posted on 1999-01-22
3
191 Views
Last Modified: 2010-05-19
I know there is a tool in UNIX that allows you to compare two files and tells you the differenct between the two.  Is there a tool that would do the same thing but to two folders containing files with the same name?
ie.  folder1 contains file1, file2, file3
     folder2 contains file1, file2, file3
%<getdifferences> folder1 folder2
results
file1 -- no difference
file2 -- 1 blah blah
         25 blah blah blah
file3 -- 4 aksjdksd
         5 alskdjfskdjf
         6 kasjdfkd
etc...

0
Comment
Question by:ueihp
  • 2
3 Comments
 
LVL 84

Expert Comment

by:ozo
ID: 2009397
diff folder1/ folder2/
0
 

Author Comment

by:ueihp
ID: 2009398
Thanks alot... I read the man page more carefully next time.  Sorry for the inconvience.
0
 
LVL 84

Accepted Solution

by:
ozo earned 50 total points
ID: 2009399
diff dir1 dir2
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now