hi,
i am trying to fine-tune a find command which deletes html files in some folders but not others:
find /www/sites/domain.com/htdocs/ -name '*htm*' -exec rm -f {} \;
the above command deletes all of them, but i want to exclude some folders. can anyone help?
many thanks