I been asking this at an interview today.
What do you think are some practical methods that can be used to ensure that two files, which may have same creation date and same size in bytes, are different files?
I was trying to answer it based on different densities that those two may have.
What do you think are some other options? This question made me curious about this.
Last edited by kdar (2013-03-07 18:44:18)
I completely forgot about this.
Are there any other methods?
Last edited by kdar (2013-03-07 20:00:06)
diff (will tell you if they are different even if they are binary)
modification time, owner/group, permissions, ACLs - these won't tell you the file content is different but then the creation time wouldn't do that, either.
Last edited by cfr (2013-03-08 02:50:36)