İçeriğe geç
onsuggest
Giriş
Makale en

Use rsync to compare large directory trees

Kaynak: Hugo's weblog on WhyNotHugo (雨果) ·

I had to rewrite some large back-ups recently in order for restic to properly de-duplicate them. I checked that the re-written back-ups are identical to the original ones by comparing the entire directory trees of the mounted back-ups. I had some doubts on whether diff -qr or rsync -acni --delete would be the best approach and did some benchmarks and tests using /usr (total: 3.2GB) which has a large mix of files and permissions. I first tried a bind mount, but diff skips comparing anything entirely since it determines that both directories have the same device/inode. I used a copy of /usr inst

Klavye kısayolları

Önceki keşif
←P
Sıradaki keşif
→N
Beğen
L
Bana göre değil
X
Kaydet
S
Bu yardımı göster
?
Kapat
Esc

Kısayollar keşif sayfasında çalışır.