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