I am writing a perl script that looks for log files on a linux system (for deletion and/or log rolling). I'm using File::Find::Rule. However, I don't want to touch files with any open file handles.
what's the best way to go about this? Would simply pulling atime in the past do the trick, or is there some other way?
Thanks
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |