Does a successful exit of rsync -acvvv s d guarantee identical directory trees?
Posted
by
user259774
on Super User
See other posts from Super User
or by user259774
Published on 2013-10-04T07:54:42Z
Indexed on
2013/10/29
16:00 UTC
Read the original article
Hit count: 240
I have two volumes, one xfs, and another ntfs - ntfs was empty, and xfs had 10 subitems.
I needed to sync them.
I initially copied a few of the subitems by dragging them over in a gui fm. Several of the direct descendants which i had dragged finished, apparently. One I stopped before it was done, and the rest I cancelled while it still appeared to be gathering information about the files.
Then I ran rsync -acvvv xmp/ nmp/
, where xmp
and nmp
are the volumes' respective mountpoints, which exited with a 0 status.
find xmp -printf x | wc -c
and find nmp -printf x | wc -c
both return 372926.
My question is: Am I guaranteed that the two drives' contents are identical?
© Super User or respective owner