Using utimes
, futimes
, futimens
, etc., it is possible to set the access and modification timestamps on a file.
Modification ti
I had a similar issue, and wrote my answer here.
https://stackoverflow.com/a/17066309/391040
There are essentially two options: