Сравнение файлов в папках в Windows

280
Philayyy

Мне нужно решение, которое позволило бы мне сравнить сумму файлов в двух разных каталогах. Я выполнял полутерабайтное копирование в Onedrive для бизнеса с устройства NAS, когда некоторые файлы не копировались из-за того, что их имена были слишком длинными ... поэтому есть ли способ определить файлы, которые не были скопированы между ними два?

При использовании Windows 10 Home синхронизация была приостановлена ​​во время копирования на один диск ... если это поможет

ура

0

2 ответа на вопрос

1
Multicon

The fundamental sync tool is the ubiquitous unix rsync, and you want it on windows. It can find the missing files and copy them over. It can do a lot more than that but it seems this will satisfy your needs.

cwRsync is basically rsync for windows that even comes with a client GUI for ease of use: https://www.itefix.net/cwrsync

Rsync uses the Rsync algorithm which provides a very fast method for bringing remote files into sync. It does this by sending just the differences in the files across the link, without requiring that both sets of files are present at one of the ends of the link beforehand. At first glance this may seem impossible because the calculation of diffs between two files normally requires local access to both files.


DeltaCopy is an alternative, you may find the GUI less intimidating perhaps, open source as well: http://www.aboutmyip.com/AboutMyXApp/DeltaCopy.jsp

In general terms, DeltaCopy is an open source, fast incremental backup program. Let's say you have to backup one file that is 500 MB every night. A normal file copy would copy the entire file even if a few bytes have changed. DeltaCopy, on the other hand, would only copy the part of file that has actually been modified. This reduces the data transfer to just a small fraction of 500 MB saving time and network bandwidth.

In technical terms, DeltaCopy is a "Windows Friendly" wrapper around the Rsync program, currently maintained by Wayne Davison. "rsync" is primarily designed for Unix/Linux/BSD systems. Although ports are available for Windows, they typically require downloading Cygwin libraries and manual configuration.

0
Robin

Другой альтернативой является Microsoft SyncToy: https://www.microsoft.com/en-us/download/details.aspx?id=15155 . Он основан на графическом интерфейсе и позволяет определять пары папок для синхронизации. Есть кнопка предварительного просмотра, которая дает вам список файлов, которые еще необходимо синхронизировать. (Это список, который вы хотите.) После синхронизации он выводит любые проблемы, встречающиеся в списке.

Он старый, поэтому системные требования, указанные на веб-сайте Microsoft, немного устарели. Я успешно использую его регулярно на Windows 8.1. Я не использовал его в Windows 10, но он тоже должен там работать.

Похожие вопросы