Default Delete-all command for flashable script?

I'm going to modify this de-bloat script....

.... to have it delete ALL of the UI sounds. Do I just add the *.* as shown below? Or is that not the right way to specify "all files" in Android?
  • delete("/system/media/audio/ui/*.*");

I'm asking because I won't be able to test for another 24 hours. And I'd like to get the script ready now while I have time.
TMO Galaxy Note 3 on ATT unlimited data plan

  • bri315317's Dynamic Kat 4.4.2 ROM
  • imoseyon's LeanKernel

  • Samsung Galaxy S5
  • Samsung Galaxy S4
  • Samsung Galaxy S3
  • Samsung Galaxy Skyrocket
  • Samsung Infuse
  • HTC Inspire

**** Check out my how-to DIY kickstand case!
**** Visit my XDA thread to help get APT-X High Definition Bluetooth Audio working in AOSP ROM's!