MAMEWorld >> The Loony Bin
View all threads Index   Flat Mode Flat  

Moose
Don't make me assume my ultimate form!
Reged: 05/03/04
Posts: 1483
Loc: Outback, Australia
Send PM
Re: Bulk file integrity checker for a variety of formats
03/20/15 09:00 AM


> Let's say I want to check the integrity of certain files. Some are images (jpg, png,
> etc.), some are movies (avi, mkv, etc.), some are compressed files (rar, zip, 7z, you
> get the idea). Is there a tool which can open and test for file integrity for a
> variety of formats? So I don't have to test each type with a certain tool or do
> cumbersome maneouvers in the dark.

Krick is right on the money. Very difficult to check that a file is 100% error free. You aren't just checking for file system issues here, you also need to check for tampering, corruption, accidental changes / overwrites, etc.

Your best bet might be to checksum your files that are known to be "good" and save the checksums for these. And then periodically re-checksum your files and compare the new checksums against the saved checksums and report any files that mismatch.

A tool I wrote years ago did exactly this (Freeware, Windows 95 or later, see Checksum Calculator). Ford USA were using it on their test PCs to make sure things hadn't been tampered with. Haven't updated it since 2007, and it only supports CRC32 at the moment - which is probably good enough for basic use.

To be really sure a file handn't changed, it would be good to add support for better checksums and also encrypt and secure the stored checksum database - just in case ...


Moose







Entire thread
Subject Posted by Posted on
* Bulk file integrity checker for a variety of formats Pi 03/19/15 09:02 PM
. * Re: Bulk file integrity checker for a variety of formats Moose  03/20/15 09:00 AM
. * Re: Bulk file integrity checker for a variety of formats Pi  03/20/15 05:22 PM
. * Whre in a consumer environment are you needing to do this?...... Traso  03/24/15 12:02 AM
. * Re: Whre in a consumer environment are you needing to do this?...... URherenow  03/24/15 02:05 PM
. * Re: Whre in a consumer environment are you needing to do this?...... Traso  03/24/15 11:32 PM
. * Re: Whre in a consumer environment are you needing to do this?...... URherenow  03/25/15 11:13 AM
. * Re: Whre in a consumer environment are you needing to do this?...... TriggerFin  03/25/15 01:08 PM
. * Re: Whre in a consumer environment are you needing to do this?...... URherenow  03/25/15 03:07 PM
. * Re: Whre in a consumer environment are you needing to do this?...... Traso  03/25/15 10:20 PM
. * Re: Bulk file integrity checker for a variety of formats krick  03/19/15 09:55 PM

Extra information Permissions
Moderator:  GatKong 
0 registered and 446 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 1477