1 Answer
Find command would be the right choice...
For example:
If the specific directory contains ".png" files with some others, but to delete only ".png" files make use of below command,
# find . -name ".png" -exec rm -f {} \; [In your case, replace .png with .cache]
Your Answer