mirror of
https://github.com/webinstall/webi-installers.git
synced 2026-03-03 18:00:18 +00:00
54 lines
1.1 KiB
Markdown
54 lines
1.1 KiB
Markdown
---
|
|
title: fd
|
|
homepage: https://github.com/sharkdp/fd
|
|
tagline: |
|
|
fd is a git-aware, simple, fast and user-friendly alternative to find.
|
|
---
|
|
|
|
To update or switch versions, run `webi fd@stable` (or `@v8.2`, `@beta`, etc).
|
|
|
|
## Cheat Sheet
|
|
|
|

|
|
|
|
> `fd` is a modern, git-aware, syntax-enabled alternative to `find` that handles
|
|
> unicode, respects `.gitignore`, and ignores hidden directories by default.
|
|
|
|
### Colorized Recursive List
|
|
|
|
```bash
|
|
fd
|
|
```
|
|
|
|
### Case-Insensitive Recursive Search
|
|
|
|
Anytime you use only lowercase letters, it's case-insensitive by default.
|
|
|
|
```bash
|
|
fd foo
|
|
```
|
|
|
|
### Case-Sensitive, Showing all ignored and hidden files
|
|
|
|
All `.` files and folders, and anything in `.gitignore` are ignored by default.
|
|
|
|
```bash
|
|
fd -s -I -H foo
|
|
```
|
|
|
|
### To show only JavaScript and Markdown files
|
|
|
|
Use `-e` as many times as there are extensions that you want to match.
|
|
|
|
```bash
|
|
fd -e md -e mkdn -e js -e mjs
|
|
```
|
|
|
|
### Other options are mostly similar to `find`
|
|
|
|
For options see:
|
|
|
|
```bash
|
|
hexyl --help
|
|
```
|