https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253370

David Schlachter <fbsd-bugzi...@schlachter.ca> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fbsd-bugzi...@schlachter.ca

--- Comment #1 from David Schlachter <fbsd-bugzi...@schlachter.ca> ---
â‚£rom the man page:

> fmt     An optional output format specifier which is one of D, O, U, X,
>             F, or S.  These represent signed decimal output, octal output,
>             unsigned decimal output, hexadecimal output, floating point
>             output, and string output, respectively.  Some output formats do
>             not apply to all fields.  Floating point output only applies to
>             timespec fields (the a, m, and c fields).

The '%F' format specifier is what you're looking for.

e.g.

$ stat -f "Access (atime): %Fa%nModify (mtime): %Fm%nChange (ctime): %Fc%nBirth
 (btime): %FB" test.txt

Access (atime): 1612922853.117268000
Modify (mtime): 1612922853.117268000
Change (ctime): 1612922853.117292000
Birth  (btime): 1612922836.988935000

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to