If you have too many files to remove, try this trick:
find . -name 'unwantedfile*' | xargs rm
source: https://hostingblog.ie/centos-how-to-deal-with-a-folder-containing-very-large-number-of-files/
If you have too many files to remove, try this trick:
find . -name 'unwantedfile*' | xargs rm
source: https://hostingblog.ie/centos-how-to-deal-with-a-folder-containing-very-large-number-of-files/