Unix file timestamps - Factor Documentation (original) (raw)

Unix file timestamps
Unix file attributes

Prev: Unix file permissions
Next: Unix file user and group ids

To read file times, use the accessors on the object returned by the file-info word.

Setting multiple file times:

set-file-times ( path timestamps -- )

Setting just the last access time:

set-file-access-time ( path timestamp -- )

Setting just the last modified time:

set-file-modified-time ( path timestamp -- )