From a9dc45ecb1e2245578ec7a748db8777a19784781 Mon Sep 17 00:00:00 2001 From: Alexandru Macovei Date: Wed, 13 May 2020 11:03:11 +0300 Subject: [PATCH] [ownership] document --owner in manpage and changelog --- CHANGELOG.md | 2 +- doc/fd.1 | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d419b4f..77e6139 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ ## Features - +- Add new `--owner [user][:group]` filter. See #307 (pull #581) (@alexmaco) ## Bugfixes diff --git a/doc/fd.1 b/doc/fd.1 index 3c31cd7..923e5d7 100644 --- a/doc/fd.1 +++ b/doc/fd.1 @@ -224,6 +224,15 @@ Examples: \-\-changed-before "2018-10-27 10:00:00" \-\-change-older-than 2weeks .TP +.BI "-o, \-\-owner " [user][:group] +Filter files by their user and/or group. Format: [(user|uid)][:(group|gid)]. Either side +is optional. Precede either side with a '!' to exclude files instead. + +Examples: + \-\-owner john + \-\-owner :students + \-\-owner "!john:students" +.TP .BI "\-x, \-\-exec " command Execute .I command