Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
zaxomi
· 2y ago · 0 comments
No need to change the system clock for a millisecond. The operating system has an API for changing allt the timestamps of a file.
Comments
[–]
vitus
2y ago
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.)