[K12OSN] How do i delete all users cached webpages

Dan Young dan_young at parkrose.k12.or.us
Thu Jan 20 15:52:30 UTC 2005


Jesper Berth wrote:
> How can i delete all users cached webpages in firefox, and not deleting
> their bookmarks and so on??

Remove the ~/.mozilla/firefox/<profile_name>/Cache directory. Perhaps 
something like this:

for foo in `getent passwd | cut -d ":" -f 1`; do ls -d `getent passwd \ 
$foo | cut -d ":" -f 6`/.mozilla/firefox/*/Cache; done

Change ls -d to rm -rf when it looks right.

--
Dan Young
Parkrose School District




More information about the K12OSN mailing list