Search Results

Search: Posts Made By: ghurty
1,568
Posted By ghurty
Code to remove files when corresponding file doesnt exist isnt working.
I am trying to add some code to the begging of a script so that it will remove all the .transcript files, when their is no coressponding .wav file. But it doesnt work.
This is the code I have added:...
1,705
Posted By ghurty
That worked. Thanks
That worked. Thanks
1,705
Posted By ghurty
I will try that, I just relized I posted some...
I will try that, I just relized I posted some wrong info.

The code that works when I do manually is:
flac --best --sample-rate=8000 msg0025.wav -o msg0025.flac

I cant have any variable in it....
1,705
Posted By ghurty
In the sh file variable is not being passed on.
I am having difficulties with the fllowing script:
!/bin/sh

voicemaildir=/var/spool/asterisk/voicemail/$1/$2/INBOX/

echo `date` ':' $voicemaildir >> /var/log/voicemail-notify.log

for...
Showing results 1 to 4 of 4

 
All times are GMT -4. The time now is 09:41 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy