Probing a ntfs-3g mounted volume, the CLI command getfattr -n system.ntfs_times file gives me:

system.ntfs_times=0sUMKxfHwEyQFMaayBfwTJAXa37TWB98oB7hGD3t6jyQE=

and according to man the leading 0s indicates it is base64 encoded. Likewise getfattr -e hex -n system.ntfs_times file gives hex output:

system.ntfs_times=0x50c2b17c7c04c9014c69ac817f04c90176b7ed3581f7ca01ee1183dedea3c901

And from there, even your verbose comments, do not help me much. I've used unpack() in the past but more in trial and error... How am I supposed to extract 4 epoch values from this string?

In reply to Re: unpack'ing "64-bit quantities" by isync
in thread unpack'ing "64-bit quantities" by isync

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.