search for: chkname

Displaying 3 results from an estimated 3 matches for "chkname".

Did you mean: cbname
2023 Oct 10
1
Deleting voicemail by program
...# get number from file name highest=${partfilename/.txt/} while [[ $highest = 0* ]]; do highest=${highest#0}; done # bash does not like leading zeros if [ ${#highest} -eq 0 ]; then highest=0; fi # ...or blanks for math realcount=0 for ((x=0;x<=${highest};x+=1)); do chkname=msg$(printf "%04d" $x) # build name - pad with zeros... if [ -e ${msgdir}/${chkname}.txt ]; then if [ $realcount -ne $x ];then newname=msg$(printf "%04d" $realcount) for idivfile in $(ls -A ${msgdir}/${chkname}.*); do m...
2023 Oct 09
3
Deleting voicemail by program
Hi all, I need to be able to delete a voicemail message using a program. Is is sufficient to simply delete the .wav and .txt files in the spool directory? Or do I need to also renumber the remaining files? For example, let say a given mailbox has 20 messages in it and I want to delete message number 5. Can I just delete the 2 files and expect that asterisk will renumber them? Or do I
2016 May 01
3
E-mail advice sought
On 05/01/2016 01:57 AM, Leon Fauster wrote: > Am 01.05.2016 um 06:43 schrieb Alice Wonder <alice at domblogger.net>: >> On 04/30/2016 08:56 PM, Gordon Messmer wrote: >>> On Sat, Apr 30, 2016 at 12:44 PM, Alice Wonder <alice at domblogger.net> wrote: >>>> >>>> For e-mail sent to people, yes. >>>> >>>> But for what