On Thu, 2003-08-28 at 15:16, Harter, Douglas wrote: > I want to traverse a directory tree, find all files using a specific pattern > (like *.tmp), and then if the modification age (-M) is over a certain limit, > delete it. > > File::Find looks like it would be good for that, but the man page gives no > real examples. There is a reference to a pfind script on CPAN, but it no > longer seems to exist. > > Could someone give me a SIMPLE way to use File::Find to do the above? > > .
Randal Schwartz did 2 articles in Linux Magazine about File::Find http://www.stonehenge.com/merlyn/LinuxMag/col45.html http://www.stonehenge.com/merlyn/LinuxMag/col46.html Plenty of "recipes". Hope this helps, Kevin -- K Old <[EMAIL PROTECTED]> -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]