From 5c1a10b93a5aa2d017e4bf259e4c3bb4ab3fc137 Mon Sep 17 00:00:00 2001 From: Marcin Chrzanowski Date: Tue, 16 Feb 2021 23:32:16 -0500 Subject: Add some basic util flags --- find.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'find.md') diff --git a/find.md b/find.md index f69f25c..b248495 100644 --- a/find.md +++ b/find.md @@ -7,3 +7,19 @@ ## Regex match find . -regex pattern # matches whole path + +## Formatted printing + + -printf + +Action that, instead of just printing the filename of found files, prints a +formatted string for each. + +### Directives + +* Time related: + * `%A`: access time + * `%C`: status change time + * `%T`: modification time + Each should be followed by a time format specifier, @ gets fractions UNIX time +* `%p`: filename -- cgit v1.2.3