find . -type f -delete
When it's really you can use the folowing perl command to delete all files. (I had a situation with 3 milion files)
cd /folder/to/delete-files
perl -e 'for(<*>){((stat)[9]<(unlink))}'
Reference: https://www.slashroot.in/which-is-the-fastest-method-to-delete-files-in-linux