Solved

comparing a group of files

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Unix / Linux grid computing 5 148
Move nodes from one TSM to another. 3 61
Unix How to Bulk Remove Multiple Directories from FileSystem 10 76
Shell Script on AIX 7 64
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…
FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
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.

920 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

16 Experts available now in Live!

Get 1:1 Help Now