General
cancel
Showing results for 
Search instead for 
Did you mean: 

Perl Script: File Size and File modification

KAKA_2
Honored Contributor

Perl Script: File Size and File modification

Hi Experts,

 

I am poor fellow when working with Script on Windows So i would need your help.

 

To take A decision i need to check few things in a particular order.

 

1. Check if a File abc was modified or not in last X minutes. if yes check next condition else action.

2. Check if the size of file is greater than XXX KB/MB/GB. if it not check next else action.

 

Could you please assist me to achieve the same with perl script?

 

Thanks in advance.

KAKA