Skip to content
Myr

Add note about .ignore files

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

authored by sharkdp · committed by sharkdp · parent c0c3887 · Browse files · 2 files+2 added−1 removed
This commit

State

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

Diff stats

2 files+2 added−1 removed

  • other:+2 added−1 removed

2 files+2 added−1 removed

modified:src/app.rs+1 added-1 removed
213 unmodified lines
214 and directories are skipped).");215 doc!(h, "no-ignore"216 , "Do not respect .(git|fd)ignore files"217 , "Show search results from files and directories that would otherwise be ignored by \218 '.gitignore' or '.fdignore' files.");218 '.gitignore', '.ignore' or '.fdignore' files.");219 doc!(h, "no-ignore-vcs"220 , "Do not respect .gitignore files"221 , "Show search results from files and directories that would otherwise be ignored by \222 '.gitignore' files.");
130 unmodified lines
modified:README.md+1 added
403 unmodified lines
404> cat ~/.fdignore405/mnt/external-drive406*.bak407```408Note: `fd` also supports `.ignore` files that are used by other programs such as `rg` or `ag`.409410### Using fd with `xargs` or `parallel`411412If we want to run a command on all search results, we can pipe the output to `xargs`:
41 unmodified lines