Hacker News new | ask | show | jobs
by zaxomi 745 days 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.
1 comments

Indeed, 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.)