Hi
I am using Rsync to replicate folders from one server to another. I want to run a script that will quickly compare the two. All I need it to do is list the files that are not the same, I dont need a deep scan all I want it do is compare the size of the two files ... nothing else.
locally on one server I have compared two folders using the following command
diff -q folder1 folder2
How can I make it compare folder1 on server 172.16.0.55 at location A to folder2 on server 10.0.0.2 at location B?
Any help appreciated.
Many thanks,
I am using Rsync to replicate folders from one server to another. I want to run a script that will quickly compare the two. All I need it to do is list the files that are not the same, I dont need a deep scan all I want it do is compare the size of the two files ... nothing else.
locally on one server I have compared two folders using the following command
diff -q folder1 folder2
How can I make it compare folder1 on server 172.16.0.55 at location A to folder2 on server 10.0.0.2 at location B?
Any help appreciated.
Many thanks,