summaryrefslogtreecommitdiffstats
path: root/bfs.1
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2018-01-20 11:53:36 -0500
committerTavian Barnes <tavianator@tavianator.com>2018-01-20 12:36:08 -0500
commitb2b97e301892d89b9909bed17f4299e09af1e33b (patch)
tree1083300b9f710b8fcd50c9bfec6fa83b1575b9c8 /bfs.1
parent50432108fb3ef826301626b94c5e82ad2ab2bd75 (diff)
downloadbfs-b2b97e301892d89b9909bed17f4299e09af1e33b.tar.xz
printf: Add %w and %Wk for file birth times
%w and %W were chosen to match the format specifiers for file birth times from stat(1)
Diffstat (limited to 'bfs.1')
-rw-r--r--bfs.116
1 files changed, 16 insertions, 0 deletions
diff --git a/bfs.1 b/bfs.1
index a6ff153..15a998f 100644
--- a/bfs.1
+++ b/bfs.1
@@ -627,6 +627,22 @@ Actions:
.TP
.B \-nohidden
Filter out hidden files and directories.
+.LP
+\fB\-printf \fIFORMAT\fR
+.br
+\fB\-fprintf \fIFORMAT FILE\fR
+.RS
+These additional format directives are supported:
+.TP
+%w
+The file's birth time, in the same format as %a/%c/%t.
+.TP
+.RI %W k
+Field
+.I k
+of the file's birth time, in the same format as
+.RI %A k /%C k /%T k .
+.RE
.SH EXAMPLES
.TP
.B bfs