<html>
<head>
<style type="text/css">
<!--
body { margin-top: 4px; line-height: normal; margin-right: 4px; margin-left: 4px; margin-bottom: 1px; font-variant: normal }
-->
</style>
</head>
<body>
<DIV>
We were running out of disk space on a set of our servers and the easiest thing to prune was the Mozilla cache files. I looked through the archives and found this, http://www.redhat.com/archives/k12osn/2003-September/msg00468.html, but it doesn't really work with our home directory structure and it seemed bulky.
</DIV>
<DIV> </DIV>
<DIV>
I ended up settling on the following command run from our equivalent of /home/.
</DIV>
<DIV>
find . -path "./*/.mozilla/*/*.slt/Cache" -exec rm -rf {} \;
</DIV>
<DIV> </DIV>
<DIV>
Does anyone know of a way to run a find command to find the Cache folders, redirect or -exec that into a ls with a magic option (that I can't find) that lists the full path of each file inside of the Cache directory which could then be redirected into a rm command? Then it would be possible to clean out the contents of the offending directory without killing the directory itself.
</DIV>
<DIV> </DIV>
<DIV>
Thanks,
</DIV>
<DIV>
Kevin M.
</DIV>
</body>
</html>