I'm using the following command once in a while to 'clean and
compress' my subdirs:
find . \( -name core -o -name '*~' -o -name '.*~' -o -name '\#*\#' \)
-print -exec rm \{\} \; , -name '*.ps' -print -exec gzip -9 \{\} \;
it removes cores, deletes temporary or backup files and compresses
postscript files.
How can I extend this, to *exclude* certain directories, e.g. the
netscape cache directories, where I don't want to compress or delete
files!?
=BL
--