Crafty automatic file deletion?

Jonathan I. Kamens jik at athena.mit.edu
Thu Mar 28 15:15:36 AEST 1991


In article <126507 at uunet.UU.NET> rbj at uunet.UU.NET (Root Boy Jim) writes:
   Otherwise, First pick all the files matching this pattern, then process them.

	   find ~ -name "*.rm.*.*" -print | maybe-remove

   Of course now you have to write the latter program.
   A good language to write it in would be perl.

If maybe-remove is written in perl, then it is ridiculous to do the
find in a separate process, since the perl can do it in the same
process as the maybe-remove stuff.

Doesn't the perl distribution come with "find2perl" or something like
that?

Jonathan Kamens			              USnail:
MIT Project Athena				11 Ashford Terrace
jik at Athena.MIT.EDU				Allston, MA  02134
Office: 617-253-8085			      Home: 617-782-0710



More information about the Comp.unix.internals mailing list