[Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 213
  • Last Modified:

comparing a group of files

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
ueihp
Asked:
ueihp
  • 2
1 Solution
 
ozoCommented:
diff folder1/ folder2/
0
 
ueihpAuthor Commented:
Thanks alot... I read the man page more carefully next time.  Sorry for the inconvience.
0
 
ozoCommented:
diff dir1 dir2
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now