Compare CRCs - JohnAndJanita/MyPythonScripts GitHub Wiki

compare-crcs.py [-a#] [filename]

This program takes as input a CRC CSV file created by CRC32.PY. It finds duplicate CRC values and provides a way to delete the duplicates.

-a# = autodelete

is either 0 or 1 and will chose to delete either the first or second matching file automatically.

Effectively: -a0 = keep last (since the first match is always deleted) -a1 = keep first (since the first match is always retained)

filename = the name of the crc.csv file to read. Note that by default ~/pictures/crc.csv is selected.