MacOS – Looking for an ARD/ Unix command to clear firefox history/cache on a mac

apple-remote-desktopfirefoxmacmacosterminal

I'm trying the following but not having any success in seeing anything cleared:

rm -R /Users//Library/Caches/Firefox/Profiles/.default/Cache

Thanks!

Best Answer

I think you're looking in the wrong folder. The more recent versions of Firefox put it here. You may want to alter your command slightly to delete folders as well.

rm -rf /Users/<username>/Library/Caches/Firefox/Profiles/<xxx>.default/cache2