Im trying to make a bash script that searches through a directory and deletes a .txt file based on .wav files of the same name.
Search Dir = /voicemail/default
Current Dir = /voicemail/default/2300
In this example I want the script to delete the two.txt because it doesnt have the assoicated .wav files
Im not too sure how this is done as I dont have much bash scripting experience.