Skip to content
Myr

Add an example of the -X option using rg

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by tacoda · committed by David Peter · parent b211ded · Browse files · 1 file+5 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+5 added−0 removed

  • other:+5 added−0 removed

1 file+5 added−0 removed

modified:README.md+5 added
192 unmodified lines
193```194This pattern is so useful that `fd` provides a shortcut. You can use the `-l`/`--list-details`195option to execute `ls` in this way: `fd … -l`.196197Another example of the `-X` option can be shown with `rg`, using all the search results as arguments:198```bash199fd … -X rg -i target200```201202Convert all `*.jpg` files to `*.png` files:203``` bash204fd -e jpg -x convert {} {.}.png205```
485 unmodified lines