[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Semi-OT: Problems getting find to not recurse



> Something like this should work (compare some of th examples of the man
> page):
>
> find /path/to/dir -name .ssh -type d -prune -or \
> 	-type f -name \*.gz -mtime ${RETAIN} -exec rm {} \;

Thank you very much, Otto.  That works just fine.  It's greatly
appreciated!

Benny


-- 
"I'd rather staple a skunk to my forehead and go to a trade show
for banjo makers."                            -- PHB's secretary,
                                                 Dilbert, 07-2002