not clear whether this utility is working in that direction or not

I was going to post a similar response, but figured the writer knows what his scripts are for. But since you brought it up, my point was going to be, he never checks the veracity of the existing md5sums as he passes thru them. He checks if there is an existing md5sum for a file, then moves on, happily thinking his data has not been tampered with. What if the md5sum for that file has changed, or the file has changed?

I was giving him the benefit of the doubt thinking, "if he keeps daily backups of everything", he can always go back and find a day where the md5sum and data matched; but now I'm not so sure.

At least he should keep an md5sum of the file containing the md5sums, to be certain his script (or other force) has not screwed up his file.

The checking and double-checking never ends with "spy vs. spy", especially if your job is on the line if the data fails. Of course blaming it on cosmic rays usually fools the dumbos in management. :-)


I'm not really a human, but I play one on earth Remember How Lucky You Are

In reply to Re^2: sortmd5 script by zentara
in thread sortmd5 script by mscharrer

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.