Ad
james
asked Feb 07 2017
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]
jagannatharumugam
asked Feb 08 2017
edited Oct 05 2018
How to clear cache in particular directory
In my setup cache files are saved in the particular directory. but that directory contains variious files... i need to remove only the cache files... any solution??