bug-findutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #61327] Support for birth time


From: Bernhard Voelker
Subject: [bug #61327] Support for birth time
Date: Sun, 10 Oct 2021 21:16:52 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:92.0) Gecko/20100101 Firefox/92.0

Update of bug #61327 (project findutils):

             Assigned to:                    None => berny                  

    _______________________________________________________

Follow-up Comment #1:

Well, find(1) does support birth time - both in -newerXY (with 'B' for X or
Y)
and in -printf '%Bk' (with the time format as specified by k like for
%Ak, %Ck and %Tk).  It's in since 2007:

  https://git.sv.gnu.org/cgit/findutils.git/commit/?id=4d3b4e4a285f

The implementation relies on the support of the underlying stat(2)/lstat(2)
functions
and whether the struct stat provides the birth time.  Unfortunately, our main
platform GNU/Linux does not have it.  Instead, we'd have to switch to the
newer statx(2) function like in coreutils' ls(1) or stat(1).

Finally, the documentation for -printf %Bk is missing.
I'll come up with a documentation patch soon.

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?61327>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]