Find all corrupted mp3 files on Linux
I encountered a small issue last week, while updating my music library. I noticed that some new mp3 files that I added were corrupted and thus could not be read by my radio.
The problem is that I do not remember what song exactly is corrupted and need replacement.
I found that mp3val is a nice little linux script that helps you check the integrity of a music file.
Let's combine mp3val checkup with a loop and log all the results.
$ find . \-name "\*.mp3" \-exec nice mp3val \-f \-t \-l/home/pi/mp3val.log "{}" \\;
I consider myself as an IT Business Artisan. Or Consultant CTO. I'm a self-taught Web Developper, coach and teacher. My main work is helping and guiding digital startups.
more about meBTC
bc1qgw9a8hyqqwvcls9ln7vhql4mad0qkveutr2td7
ETH
0x3A720717Da03dB6f3c4a4Ff08BC64100205A79d0
2025 © My Dynamic Production SRL All rights Reserved.