Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!caen!uflorida!math.ufl.edu!shadrach.math.ufl.edu!squash From: squash@math.ufl.edu (Jonathan King) Newsgroups: comp.unix.wizards Subject: Crafty automatic file deletion? Message-ID: Date: 16 Mar 91 00:41:16 GMT Sender: news@math.ufl.edu Organization: University of Florida Department of Mathematics Lines: 15 My .logout contain a call to _find to automatically remove files satisfying certain criteria. I would like the file's name to provide the criterion. For example, files letter.rm.60.tex c_hack.rm.120.c would be automatically removed if unmodified for 60 and 120 days. (Of course, I could put the specific numbers "60" and "120" into my call to _find. I would like this to work, automatically, for all numbers that are valid to, say, the -mtime switch of _find.) Can this be done by _find or by some other program? Thank you. Jonathan squash@math.ufl.edu