This one time, at band camp, Terry Collins wrote:
>Can anyone tell me what is the correct form of
>
>find smtpd* -atime 7 -exec ` rm -f {} ` \;
>on a RH5.2 system?
You can only specify one directory to look in, so smtpd* isn't going to
work.
find . -wholename './smtpd*' -atime 7 -exec rm -f {} \;
or
find . -wholename './smtpd*' -atime 7 -print0 | xargs -0 rm -f
I only just learnt -wholename so I may have gotten the syntax wrong. Buyer
beware! :-)
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html