Operating System - OpenVMS
cancel
Showing results for 
Search instead for 
Did you mean: 

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
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