9 Jul
2002
9 Jul
'02
14:51
On Tue, Jul 09, 2002 at 09:38:15AM -0400, zentara@zentara.net wrote:
Here is a script I use to delete Mozilla's cache , which is just about the same as netscape 6. [snip] ################################################ #!/bin/bash cd /home/zentara/.mozilla/default/of7svo63.slt/Cache rm -R *
Personally, I'd write that as rm -R /home/zentara/.mozilla/default/of7svo63.slt/Cache/* since if the cd fails for some reason, you do an 'rm -R' in the cwd (unless you've set bash to exit script on error code), which is not a good idea... -- David Smith Work Email: Dave.Smith@st.com STMicroelectronics Home Email: David.Smith@ds-electronics.co.uk Bristol, England