Færdiggjort

Automatic Script to Sox and Grep

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]

Evner: Ingeniørarbejde, Linux, MySQL, Perl, PHP, Projekt Ledelse, Ruby on Rails, Software Arkitektur, Software Testning

Se mere: n equals, voice track, sh, freeswitch, dialer company, company rename, split file php script, php script rename files, file split php script, split wav file, found log files, wav file read, automatic dialer, read wav file, perl split, php delete tmp files, perl pattern, php split file, linux script log, based freeswitch

Om arbejdsgiveren:
( 23 bedømmelser ) Bangkok, Thailand

Projekt ID: #2873656

Tildelt til:

polasoft

See private message.

$7 USD in 3 dage
(9 bedømmelser)
3.2

2 freelancere byder i gennemsnit $8 på dette job

StrongDecs

See private message.

$8.5 USD in 3 dage
(7 bedømmelser)
2.5