6 ms·
No need to change the system clock for a millisecond. The operating system has an API for changing allt the timestamps of a file.
by zaxomi 2y ago
No need to change the system clock for a millisecond. The operating system has an API for changing allt the timestamps of a file.
- vitus 2y agoIndeed, that's what `touch -t 201101020304 /tmp/old-file` is for. (Although on ext4 it seems that you can't control the birth time; for that you would need to set your system clock.)