rsync showing wrong output
Iam comparing 2 filesystem using the below command.
rsync -navrz --exclude=logs/* /opt/otm/ glrrd@105.78.7.100:/opt/otm/
The output showing the files which are same in size and timestamp that are to be sync.
Iam using rsync 2.6.3 version so i dont have itemize changes option to debug the problem.
Is there anyway i can find the how rsync is finding the difference between the 2 filesytem
Ex: filesystem1
-rw-rw-r-- 1 glog glog 39132 Nov 26 2009 FinJ-code_2003-10-22_12h17_CEST+0200.jar
-rw-rw-r-- 1 glog glog 39132 Nov 26 2009 finj.jar
-rw-rw-r-- 1 glog glog 954987 Nov 26 2009 jakarta-taglibs-standard-1.1.2.zip
-rw-rw-r-- 1 glog glog 4061606 Nov 26 2009 jaxen-1.1.1.zip
-rw-rw-r-- 1 glog glog 14022975 Nov 26 2009 openmap-4.5.4.zip
-rw-rw-r-- 1 glog glog 387328 Nov 26 2009 standard-1.1.2-patched-jaxen-1.1.jar
-rw-rw-r-- 1 glog glog 1394659 Nov 26 2009 struts-1.2.7-lib.zip
-rw-rw-r-- 1 glog glog 5736238 Nov 26 2009 velocity-1.4.zip
Filesystem 2;
-rw-rw-r-- 1 glog glog 39132 Nov 26 2009 FinJ-code_2003-10-22_12h17_CEST+0200.jar
-rw-rw-r-- 1 glog glog 39132 Nov 26 2009 finj.jar
-rw-rw-r-- 1 glog glog 954987 Nov 26 2009 jakarta-taglibs-standard-1.1.2.zip
-rw-rw-r-- 1 glog glog 4061606 Nov 26 2009 jaxen-1.1.1.zip
-rw-rw-r-- 1 glog glog 14022975 Nov 26 2009 openmap-4.5.4.zip
-rw-rw-r-- 1 glog glog 387328 Nov 26 2009 standard-1.1.2-patched-jaxen-1.1.jar
-rw-rw-r-- 1 glog glog 1394659 Nov 26 2009 struts-1.2.7-lib.zip
-rw-rw-r-- 1 glog glog 5736238 Nov 26 2009 velocity-1.4.zip
When iam running the rsync from filesytem1 it is showing to sync all the file in filesystem1 to filesystem2 when both the files looks same in size and timestamp
Last edited by system11; 02-16-2011 at 10:08 AM.
|