This bash script scans your FLAC music archives for corruption. It supports periodical, partial checks of the files via cron, similar to scrubbing of software raids. It provides a detailed report about the condition of your music library.
In the background it uses a log file to track which files have already been checked. When a file hasn't been checked for the given amount of days it will get re-checked.
flac-integrity.sh [<options>] <directory>
-f
force re-check of erroneous files-F
force re-check of all files-i
interval for re-checking files in days (default: 90)-l
limit amount of files per run-o
log file location (default:<path>/.flac-integrity
)-r
recursive mode-v
verbose mode-h
help
Analyze 100 FLAC files within /media/audio/flac
and show all details.
flac-integrity.sh -rv -l 100 /media/audio/flac