Automatic Script to Sox and Grep

Completed Posted Sep 11, 2009 Paid on delivery
Completed Paid on delivery

I need an linux-based script (sh, PERL, sed, etc...) to...

1) read all .wav files in a directory /tmp/[url removed, login to view] where XXXX equals a number?

2) for each of the files, use SOX to split the stero tracks?

3) delete the second track (only keep the first)?

4) grep a file /usr/local/freeswitch/log/[url removed, login to view] for the XXXXXX found in the wav file found in step #1?

5) this should output a single line that matches a pattern like

2009-09-10 18:01:19.827944 [INFO] [url removed, login to view] DEBUGamdperson pcc:XXXXXXX time:2.120897 sec?

? or

2009-09-10 18:01:19.827944 [INFO] [url removed, login to view] DEBUGamdmachine pcc:XXXXXX time:2.120897 sec

6) rename the remaining .wav file to "[url removed, login to view]" or "[url removed, login to view]"where the first XXXX is the number, and the second is the time?

? This is for a <a href="[url removed, login to view]">hosted predictive dialer and voice broadcasting company </a>

## Deliverables

I need an linux-based script (sh, PERL, sed, etc...) to... 1) read all .wav files in a directory /tmp/[url removed, login to view] where XXXX equals a number 2) for each of the files, use SOX to split the stero tracks 3) delete the second track (only keep the first) 4) grep a file /usr/local/freeswitch/log/[url removed, login to view] for the XXXXXX found in the wav file found in step #1 5) this should output a single line that matches a pattern like 2009-09-10 18:01:19.827944 [INFO] [url removed, login to view] DEBUGamdperson pcc:XXXXXXX time:2.120897 sec or 2009-09-10 18:01:19.827944 [INFO] [url removed, login to view] DEBUGamdmachine pcc:XXXXXX time:2.120897 sec 6) rename the remaining .wav file to "[url removed, login to view]" or "[url removed, login to view]" where the first XXXX is the number, and the second is the time This is for

[voice broadcasting & hosted dialer][1]

Engineering Linux MySQL Perl PHP Project Management Ruby on Rails Software Architecture Software Testing

Project ID: #2873656

About the project

2 proposals Remote project Active Sep 11, 2009

Awarded to:

polasoft

See private message.

$7 USD in 3 days
(9 Reviews)
3.2

2 freelancers are bidding on average $8 for this job

StrongDecs

See private message.

$8.5 USD in 3 days
(7 Reviews)
2.5