how to compare files/directories of 2 separate solaris boxes ?
- by chz
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