Operating System - OpenVMS
1753962 Members
7697 Online
108811 Solutions
New Discussion

finding files older than 10 days

 
SOLVED
Go to solution
SAMI AHMAD
Regular Advisor

finding files older than 10 days

how can I do this in openVMS ?  the dir/since=yesterday-10  command although doestnt give a syntax but doesnt give the desired results.

 

thanks

3 REPLIES 3
Dennis Handly
Acclaimed Contributor

Re: finding files older than 10 days

Older how?  Created, modified or accessed?

Volker Halle
Honored Contributor
Solution

Re: finding files older than 10 days

Use WRITE SYS$OUTPUT F$CVTIME("YESTERDAY-10") to verify your time specification !

Use "YESTERDAY-10-0" to specify 10 DAYS instead of 10 HOURS

Volker.

SAMI AHMAD
Regular Advisor

Re: finding files older than 10 days

thanks that worked.

regards