how to compare files/directories of 2 separate solaris boxes ?

Posted by chz on Super User See other posts from Super User or by chz
Published on 2011-02-20T13:20:09Z Indexed on 2011/02/20 15:27 UTC
Read the original article Hit count: 178

Filed under:
|

Hi Friends

I have 2 solaris boxes and I need to check certain directories (on local filesystem and mounted nfs) to make sure that they match up on both boxes and to delete or move the other mismatches to elsewhere on the local filesystem.

I investigated for unix commands like rsync, and tree but it appears that these commands are not supported on my Solaris boxes.

What is the best approach to this problem with the least pain to solve it ? to use rsync, tree and then diff the outputs or find ?

I have trouble limiting the find command to certain directories as there are mounted folders that contain too many xml files that I don't care to much in that directory.

What's the find command to search multiple directory paths on a single find command.

Thanks Sincerely

© Super User or respective owner

Related posts about unix

Related posts about solaris