0

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??

Cache Add a comment
james
asked Feb 07 2017

Answer

0

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] 
Add a comment
jagannatharumugam
asked Feb 08 2017
edited Oct 05 2018
Post your Answer