[Info-vax] DIR/DATE_FORMAT=DELTA ?
Kenneth Fairfield
ken.fairfield at gmail.com
Mon Jan 9 16:37:21 EST 2012
On Monday, January 9, 2012 12:55:02 PM UTC-8, JF Mezei wrote:
> Kenneth Fairfield wrote:
>
> > But as others have said, it's a bit difficult to
> > see how DELTA time helps you,
>
>
> If <delta time> greater than X, then take some action.
>
> File not modified for X time, then archive it.
> File not backed up for X time, then do a backup.
Isn't what what the /SINCE qualifier does for you?
Granted, you might need to do a little F$CvTime work first,
and as below:
> However, since such activities are more likely done in a command
> procedure, and command procedures can use f$file_attributes and then
> F$CVTIME, that functionality is already there.
True. But in addition with respect to the OP, a DELTA
time makes no sense in the absence of a reference time
(to take the DELTA wrt). DIRECTORY will do that job once
the reference ABSOLUTE time is determined.
-Ken
More information about the Info-vax
mailing list