Sets the modification and access times of a file.
system
set-file-dates file &key creation modification access
file⇩ |
A pathname designator. |
creation⇩ |
A non-negative integer, or nil . |
modification⇩ |
A non-negative integer, or nil . |
access⇩ |
A non-negative integer, or nil . |
The function set-file-dates
sets the modification and access times of the file file for each of modification and access that is non-nil.
On Microsoft Windows, if creation is non-nil, the creation time of the file is also set. creation is ignored on other platforms.
creation, modification and access are interpreted as a universal time representing the time to set, unless it is nil
in which case the corresponding time for file is not changed. Each keyword argument has default value nil
.
An error of type file-error is signaled on failure.
LispWorks® User Guide and Reference Manual - 01 Dec 2021 19:31:02