You are not logged in.

#1 2014-11-25 13:46:07

kurt
Member
Registered: 2009-09-06
Posts: 140

aucdtect

Two questions (one of them scripting).

1) Is there any linux program that does what aucdtect does. That is check that a wav file comes from a cdda source.

2) I'm trying to run  aucdtect for all .wav files recursively in a dir. I am using the following:

aucdtect -d -m0 `find . -iname *.wav|sort|sed -e 's/^/"/g' -e 's/$/"/g'|tr '\n' ' '

However it doesn't liike spaces in filenames even though I've quoted the files. It fails saying can't find file specify a supposed filename upto the first space. I've tried storing the result in a variable and putting that into aucdtect but it fails just the same.

The strange thing is if I run the find|sort|sed|tr command and then paste its output to the aucdtect command it work perfectly.

Offline

Board footer

Powered by FluxBB