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

james
asked Feb 6, 2017
1 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] 
View More
jagannatharumugam
answered Feb 8, 2017
Your Answer
||||
 
100:0