Skip to content

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

Notifications You must be signed in to change notification settings

bluemoehre/flac-integrity-script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

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.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages