Originally Posted By: Hal Itosis
fwiw, the script in this post is still the version i use today to view (and optionally delete) those flash cookies & caches. [Run without arg to just list items. Run with any arg to delete everything except adobe's own sol file.]

On the one hand, I think I now know what to do with your script ( wink ), but on the other hand, I have no more than a vague idea what "run without any arg" means, even after perusing Unix FAQ (for OS). (Edit: Does it mean to omit

Code:
if [ $# -ne 0 ] && [ $k -ne 0 ]
then  # clear cookies & caches but preserve useful files and directory trees:

	GoToFolder $DR1 &&
	ls -d1 {macromedia.com/support/flashplayer/sys,#SharedObjects/*}/* \
		2>/dev/null |grep -v $PREF |tr '\n' '\000' |xargs -0 rm -fR
	((x+=$?))

	GoToFolder $DR2 && ls -d1 AssetCache/*/* 2>/dev/null |grep -v $CASH |
		tr '\n' '\000' |xargs -0 rm -fR
	((x+=$?))

	[ $x -eq 0 ] && printf '\e[30;42m FLASH COOKIES CLEARED \e[0m\n' >&2
fi

from the script?)

That aside, though, I accomplish the same thing via Safari Cookies > Flash Cookies.

But what does your script accomplish as respects Flash prefs (apparently) spontaneously reverting to default?

Last edited by artie505; 01/23/12 04:51 AM.

The new Great Equalizer is the SEND button.

In Memory of Harv: Those who can make you believe absurdities can make you commit atrocities. ~Voltaire