Suggest to use `-u` instead of `-HI`

This commit is contained in:
David Peter 2023-12-08 13:37:03 +01:00 committed by GitHub
parent 74b850a642
commit 00b64f3ccb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -143,7 +143,7 @@ target/debug/deps/libnum_cpus-f5ce7ef99006aa05.rlib
```
To really search *all* files and directories, simply combine the hidden and ignore features to show
everything (`-HI`).
everything (`-HI`) or use `-u`/`--unrestricted`.
### Matching the full path
By default, *fd* only matches the filename of each file. However, using the `--full-path` or `-p` option,
@ -406,9 +406,9 @@ for alternative, more complete (or more colorful) variants, see [here](https://g
Remember that `fd` ignores hidden directories and files by default. It also ignores patterns
from `.gitignore` files. If you want to make sure to find absolutely every possible file, always
use the options `-H` and `-I` to disable these two features:
use the options `-u`/`--unrestricted` option (or `-HI` to enable hidden and ignored files):
``` bash
> fd -HI
> fd -u
```
### `fd` doesn't seem to interpret my regex pattern correctly