Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The default behavior also checks file size in addition to modification time.


Is there a purpose to that?


Modification time can be altered, or incorrect. File size is just another fast check that can be done with the same data return by stat'ing the file.

Rsync can also compare hashes if you don't trust the size and time on the files.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: