The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #4 (permalink)  
Old 02-09-2009
ddreggors ddreggors is offline
Registered User
  
 

Join Date: Aug 2008
Posts: 91
try diff:

Code:
[user@host ~]$ diff ./dirA ./dirB
or if you want to test file by file:

Code:
[user@host ~]$ for F in ./dirA/*; do diff ./dirA/${F} ./dirB/${F}; done