重複を調べる仕組み(SHA-256という指紋)
この記事のポイント
- 大きさを比べる
- 指紋を計算する
- 同じものをまとめる
重複ファイルを見つける は、名前ではなく、中身の指紋で比べます。
手順
- まず、ファイルの大きさを比べる
- 大きさが同じものだけ、SHA-256の指紋を計算する
- 指紋が同じものを、重複としてまとめる
指紋が同じなら、中身は、実質的に同じです。
重複ファイルを見つける(中身が同じファイル)を使う(無料)
あわせて使えるツール
- ファイルのハッシュ値を調べる(SHA-256):ファイルのハッシュ値を調べて、照合します。
- ファイルをZIPにまとめる:複数のファイルを、1つのZIPにまとめます。
- ファイル名を一括で変更する(連番・日付):複数のファイルの名前を、連番や日付つきでまとめて変更します。
同じツールの、ほかの解説
How Duplicates Are Detected (SHA-256 Fingerprints)
Key points
- Compare sizes
- Calculate fingerprints
- Group identical ones
Find Duplicate Files compares fingerprints of the contents, not names.
Steps
- First compare file sizes
- For files of the same size, calculate a SHA-256 fingerprint
- Group files with the same fingerprint as duplicates
If the fingerprints match, the contents are in practice identical.
Use "Find Duplicate Files" (free)
Tools that go well with this
- Check a File's Hash (SHA-256): Calculate a file's hash and compare it.
- Make a ZIP File: Pack several files into one ZIP.
- Rename Many Files at Once (Numbers, Dates): Rename many files at once with numbers or dates.