On Saturday 11 Oct 2003 07:09, Andrew Gaffney wrote:
The third field is an MD5 checksum, I believe. Someone please slap me upside my head if I'm wrong :) What I don't know is what the last field is.
The thiird field is a timestamp. If you point your browser at http://
www.4cm.com/tools/unix_to_time.php and enter 1063609103 it returns Unix Time: 1063609103 = 09/15/2003 1:58am
Good. Thanks. Additionally, what I want to do is add a flag you can pass to this script that will tell it to scan only binaries or all files. Is there a quick way to determine whether a file is a binary or not? I was thinking about using the 'file' command.
Which takes more time: 'file' or generating an MD5SUM? I'm trying to determine whether to use 'file' to determine which files are binaries and then checking MD5SUM's on those, or checking MD5SUM's on all files and only use 'file' on ones that don't match the MD5SUM to determine if its worth reporting.
-- Andrew Gaffney
-- [EMAIL PROTECTED] mailing list
