Change Timestamp
Description
Changes the “modified” time of the given file/directory. All parameters are required.
Format
D year month day hour min sec path
Parameters
yearis full 4 digit year.monthis 1 → 12.dayis 1 → 31 (depending on month).houris in 24 hour format (0 → 23).minis 0 → 59.secis 0 → 59.pathis the absolute path to a file/directory. A properly formatted path must begin with a “/” (forward slash) and begins at the root directory. Subdirectories are separated with “/” (forward slash).- e.g.
/logs/january/jan3.log
- e.g.
Response Format
NULL | Success |
Enn | An error occurred |
Example
D 2023 8 11 17 22 00 /filename.txt