Solved

comparing a group of files

Posted on 1999-01-22
3
196 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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
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.

805 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