diff options
author | Marcin Chrzanowski <m@m-chrzan.xyz> | 2021-02-16 23:32:16 -0500 |
---|---|---|
committer | Marcin Chrzanowski <m@m-chrzan.xyz> | 2021-02-16 23:32:16 -0500 |
commit | 5c1a10b93a5aa2d017e4bf259e4c3bb4ab3fc137 (patch) | |
tree | 409ca3d5365d1f05af6fb7f36de1904397086f51 /find.md | |
parent | 707e1dff3eb151904d6ad69a847b763175267b03 (diff) |
Add some basic util flags
Diffstat (limited to 'find.md')
-rw-r--r-- | find.md | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -7,3 +7,19 @@ ## Regex match find . -regex pattern # matches whole path + +## Formatted printing + + -printf <format> + +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 |