I have a directory called "bin", where i have a script called "GetMaxFreqs"
To execute it i need to do:
./GetMaxFreqs -w file.freqs file.wav
Inside the "bin" folder i have a folder called "dataset" where i have 100 ".freqs" and 100 ".wav" files, and i want to run the script to do the "GetMaxFreqs" automatically.
i tried:
for f in database/*.wav; do ./GetMaxFreqs -w "$f".freqs *.wav; done
and:
for f in database/*.wav; do ./GetMaxFreqs -w "$f".freqs "$f".wav; done
But in the first one the output is the same for every fille, and in the second it gives an error.