[K12OSN] Is there a command that can do....

Kevin Matson kmatson at pps.k12.or.us
Fri Feb 4 21:04:55 UTC 2005

  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
  I ended up settling on the following command run from our equivalent
of /home/. 
      find . -path ./*/.mozilla/*/*.slt/Cache -exec rm -rf {} \; 
  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. 
  Kevin M. 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/k12osn/attachments/20050204/9e3c9952/attachment.htm>

More information about the K12OSN mailing list