Good to hear that. It's what counts.
I don't think you received here any advice on using rm.
It seems to me that what you wanted to do was delete all WAVE files from a directory hierarchy, irrespective of where in the hierarchy they were. If so, rm was not the best tool for the purpose. (I assume you already know that the CLI is case-sensitive, hence, in Terminal, ".WAV" is not the same thing as ".wav".) You should have used find in the top level of your hierarchy, thus:
Code:
find . -name "*.wav" -type f
Code:
find . -name "*.wav" -type f -delete
Leave a comment: