for i in $(find ~/.mozilla/ -name 'Cache'); do rm $i/*; done You probably want to find the actual directory and only delete those files, rather than from every profile. Any reason you don't want to use Firefox's cache delete?
On Sun, Aug 30, 2009 at 4:34 PM, p_a <[email protected]> wrote: > > I've found the posting about how to delete mozilla/firefox cache from > the > browser, but I'd like to find out about using the linux find/exec > command. > I tried: > >find ~/.mozilla -name 'Cache' -exec cd {}; rm -r .\; > > but something is not exactly correct. Is it possible to fix this? > Is this the most reliable technique? > > thx., > > pete. > > > > -- Daniel --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Linux Users Group. To post a message, send email to [email protected] To unsubscribe, send email to [email protected] For more options, visit our group at http://groups.google.com/group/linuxusersgroup -~----------~----~----~----~------~----~------~--~---
