I have a challenge. I need to create a bash script to run on dally basis to compare multiple WAV files inside a single folder, but I have over 25.000 folders with up to 30 WAV files in each folder to compare.The file sizes of the WAV files inside a single folder should have the same sizes (+ or - a few KB max). And the script should report if a folder contains a file size 'issue', output in the form of a single text file/log.I know how to build a find command or loop, but how do I easily compare between 2 and 30 WAV files in size and report if 1 of them is incorrect compared to the other(s)?
compare filesize of multiple files in folder
bash;file comparison