For POSIX it should be a no-brainer, and for Win32 it seems possible as well: - http://msdn.microsoft.com/en-us/library/windows/desktop/ms724933%28v=vs.85%29.aspx - http://stackoverflow.com/questions/2185338/how-to-set-the-modification-time-of-a-file-programmatically