Link to home
Start Free TrialLog in
Avatar of babita sharma
babita sharma

asked on

perl to find all files in a current directory and its subdirectory that are modified "x" minutes ago.

Hi,
I need a perl that will list down all the files in the given folder and its subfolder that are modified 'x' minute ago say (20min ago) compared to localtime or system time.Please help me out if you have any idea of how to do this because I am very much new to perl.
Avatar of Nitin Sontakke
Nitin Sontakke
Flag of India image

Is Babita == Anamika?

Anyway. While I am not answering your question, may be you wish to have a look at this to understand the issues involved.
You can use the File::Find::Rule module to get the list of files.
This question needs an answer!
Become an EE member today
7 DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.