bluemoehre / flac-integrity-script

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.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FLAC integrity script

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.

Usage

flac-integrity.sh [<options>] <directory>

Options

  • -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

Examples

Analyze 100 FLAC files within /media/audio/flac and show all details.

flac-integrity.sh -rv -l 100 /media/audio/flac

About

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.

License:GNU General Public License v3.0


Languages

Language:Shell 100.0%