Recursively check and correct mp3 files in Linux

A while ago I wrote on how to convert ogg files to mp3 files. Now I needed a solution to check and correct my mp3 files. Using the tool mp3val and the find command you can do this recursively:

find . -name "*.mp3" -exec nice mp3val -f -t -l/home/{username}/mp3val.log "{}" \;

The -f option fixes the mp3 files. -t keeps the timestamp and -l creates a logfile.

Comments  

0 # Dino 2015-07-25 21:49
Thanks a lot!! This saved a lot of time. Thanks again!
Reply | Report to administrator
0 # dave31175 2016-01-21 13:28
Perfect!! Exactly what I needed! Thanks so much.
Reply | Report to administrator

Add comment


Security code
Refresh

Share this post
FaceBook  Twitter  

Archives

Latest comments

  • The powerless God

    Bas
    Hi Chris, Well... I'm not saying that there is no free will in the afterlife. But life as we know is ...

    Read more...

     
  • The powerless God

    Chris Donges
    How do you see the afterlife if there is no free will? If there can be an afterlife with no free will ...

    Read more...

     
  • The powerless God

    Bas
    Hi Chris, I'm curious where you are heading with your questions :-) I'm not that interested in heaven ...

    Read more...

     
  • The powerless God

    Chris Donges
    I know you said free will may not be the correct answer but I asked so I could ask you this follow ...

    Read more...

     
  • The powerless God

    Bas
    Hi Chris! No, I don't think so. May I ask you why you asked me this? I've re-read my blogpost and ...

    Read more...