Is there a way to find and delete all the audio files recursively (MP3 files) which have less than 3 minutes play duration time?
Consider the situation that I have mixture of multiple format files (e.g. directories, text files and mp3 files).
audiofindlinux
Is there a way to find and delete all the audio files recursively (MP3 files) which have less than 3 minutes play duration time?
Consider the situation that I have mixture of multiple format files (e.g. directories, text files and mp3 files).
Best Answer
Here's one way. Run
mediainfo
against every mp3 file, if shorter than 3 minutes, delete it.Or for fans of one-liners: