make find show files meeting limits, even when not present

find: Rather than only showing files whose contents are present, when used
with --exclude --copies or --in, displays all files that match the
specified conditions.

Note that this is a behavior change for find --exclude! Old behavior
can be gotten with find --in . --exclude=...
This commit is contained in:
Joey Hess 2011-09-18 20:41:51 -04:00
parent 9da23dff78
commit 33cd1ffbfe
5 changed files with 29 additions and 5 deletions

View file

@ -222,6 +222,8 @@ subdirectories).
* find [path ...]
Outputs a list of annexed files whose content is currently present.
Or, if a file matching option is specified, outputs a list of all
matching files, whether or not their content is currently present.
With no parameters, defaults to finding all files in the current directory
and its subdirectories.
@ -432,7 +434,8 @@ file contents are present at either of two repositories.
in a repository.
The repository should be specified using the name of a configured remote,
or the UUID or description of a repository.
or the UUID or description of a repository. For the current repository,
use "--in=."
* --copies=number