In my opinion here is the options you have,
1) Use nfs to share same or identical file across the host. 2) Use rsync to compare files between two node , if there is any difference between source and destination then rsync will sync differential file.
Hope it will help you
Regarding, Harshal Lakare
On Thu, 9 Feb 2023 at 10:07 PM, Kaushal Shriyan kaushalshriyan@gmail.com wrote:
Hi,
I am running CentOS Linux release 7.9.2009 (Core) on node1 and node2. Is there a way to compare both files and directories in web server document root -> /var/www/html/webservices residing on both node1 and node2 including the files content.
It is to make sure that both nodes are having the same file contents,number of files,subdirectories and directories.
Please guide me. Thanks in advance.
Best Regards,
Kaushal _______________________________________________ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos