Automatic Script to Sox and Grep

Ολοκληρωμένο Αναρτήθηκε Sep 11, 2009 Πληρώθηκε κατά την παράδοση
Ολοκληρωμένο Πληρώθηκε κατά την παράδοση

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]

Μηχανολογία Linux MySQL Perl PHP Διαχείριση Πρότζεκτ Ruby on Rails Αρχιτεκτονική Λογισμικού Δοκιμή Λογισμικού

Ταυτότητα Εργασίας: #2873656

Σχετικά με την εργασία

2 προτάσεις Απομακρυσμένη εργασία Ενεργό Sep 11, 2009

Ανατέθηκε στον:

polasoft

See private message.

$7 USD σε 3 μέρες
(9 Αξιολογήσεις)
3.2

2 freelancers κάνουν προσφορές κατά μέσο όρο $8 για αυτή τη δουλειά

StrongDecs

See private message.

$8.5 USD σε 3 μέρες
(7 Αξιολογήσεις)
2.5