Default Delete-all command for flashable script?

I'm going to modify this de-bloat script....
http://forum.xda-developers.com/show....php?t=2587899

.... 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!
http://forum.xda-developers.com/show...php?p=52585717
**** Visit my XDA thread to help get APT-X High Definition Bluetooth Audio working in AOSP ROM's!
http://forum.xda-developers.com/show....php?t=2531440