Gregory K. Ruiz-Ade wrote:
On Sep 21, 2005, at 7:48 PM, Ralph Shumaker wrote:
Is there a way to get a reliable listing of the source files, do a
byte for byte comparison, and report only the ones that are different?
rsync -avn /source /destination
I didn't do a dry run so I just used -av to copy a windows partition.
Then I used Carl's suggestion with diff. This is what I got, starting
with the report rsync gave at the end:
<quote>
wrote 749112905 bytes read 115348 bytes 2596978.35 bytes/sec
total size is 748613414 speedup is 1.00
12:44:46 $ diff -r -q /mnt/whineDoze/ /mnt/WhineDoze/
Only in /mnt/WhineDoze/windows: fonts
Only in /mnt/whineDoze/windows: FONTS
Only in /mnt/WhineDoze/windows: inf
Only in /mnt/whineDoze/windows: INF
12:48:40 $
</quote>
Why does rsync report reading only about 1 in 7000 of what it wrote?
And why did rsync switch to lower case two directory names that were all
upper case?
--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list