Use JHOVE to confirm files are well formed and valid or identify errors. JHOVE works for a limited number for format types: AIFF, ASCII, BYTESTREAM, GIF, GZIP, HTML, JPEG, JPEG2000, PDF, PNG, TIFF, UTF8, WARC, WAVE, XML.
In April 2018, version 1.20 was released. This version is available on the Indus workstation. To install software on your desktop, request install from IT.
IMPORTANT: Must designate the proper module per format to receive accurate results. Sorting files into subfolders by type may facilitate testing.
EXAMPLE
A directory of subfolders containing multple file types, primary WAV format
jhove -o Z:\FonScan\audio\audit.txt -h audit Z:\FonScan\audio\2010
-o output specifies the output file path and name
-h handler specifies the output handler.
Audit handler should be invoked against a directory (or directories). The handler produces an XML-formatted summary of all of the files in the directory. Produces a quick report/overview of MIME types and validity status.
Note: the Audit report does not require a specific module statement when validating across multiple formats. However, if you use a module statement AND there are multiple file formats, this will result in a NULL error message.
EXAMPLE
Single folder of PDF files
jhove -k -m pdf-hul -o DIRECTORY\output.txt -h audit -krs DIRECTORY\SOURCE\FILES
-m specifies the format module
-o output specifies the output file path and name
-h handler specifies the output handler. Audit handler should be invoked against a directory (or directories). The handler produces an XML-formatted summary of all of the files in the directory
-k Calculate CRC32, MD5, and SHA-1 checksums
-r Display raw data flags, not textual equivalents
-s Format identification based on internal signatures only
Directory or folder of file(s) location
Note on status values:
Valid = No errors found
Well-formed means Well-formed, but not valid = Error
Not well-formed = Error
To investigate errors from summary audit report, may run a detail report via the GUI.
3. File > Open file > Select file
4. Example output
Example to show details per single WAV file
Z:\FonScan\audio>jhove -c "C:\Program Files\jhove\conf\jhove.conf" -m WAVE-hul Z:\FonScan\audio\2010\ssm2010-01-11A\ssm2010-01-11A_disc01.wav
Bennett, Michael J., "Optimized Still Image Batch Processing of Special Collections Bound Monographs and Manuscripts Using DNG, JPEG 2000, and Embedded XMP Metadata" (2012). Published Works. 43. http://digitalcommons.uconn.edu/libr_pubs/43 (see pages 19-20 for running JHOVE audit report via command line).
Getting Started with JHOVE. http://jhove.openpreservation.org/getting-started/