#!/bin/bash for x in `ls /home`; do echo "Doing $x ..." find /home/${x}/.mozilla/firefox/*.default/Cache/* -exec rm -Rf {} \; done