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 -->
  #1 (permalink)  
Old 07-07-2008
krishmaths krishmaths is offline
Registered User
  
 

Join Date: Sep 2006
Location: Mysore, India
Posts: 191
File structure comparison

To test server migration, we need to compare files under a directory in source and target servers.


I need to verify if the below two directories on two servers are identical (i.e., contains same directories and files with same size. They may have multiple level sub-directories)

//SourceServer/project1/nesteddir
//TargetServer/project1/nesteddir

Has anyone done a similar stuff?

The output of diff command is quite complex to understand. Is there any other simple way?