Skip to content
Myr

Format notes in Readme

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

authored by Roshan Jossy · committed by GitHub · parent aeb4a5f · Browse files · 1 file+5 added−2 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−2 removed

  • other:+5 added−2 removed

1 file+5 added−2 removed

modified:README.md+5 added-2 removed
259 unmodified lines
260> cat ~/.fdignore261/mnt/external-drive262*.bak263```264Note: `fd` also supports `.ignore` files that are used by other programs such as `rg` or `ag`.264265> [!NOTE]266> `fd` also supports `.ignore` files that are used by other programs such as `rg` or `ag`.267268If you want `fd` to ignore these patterns globally, you can put them in `fd`'s global ignore file.269This is usually located in `~/.config/fd/ignore` in macOS or Linux, and `%APPDATA%\fd\ignore` in270Windows.271
13 unmodified lines
285286If you also want to remove a certain class of directories, you can use the same technique. You will287have to use `rm`s `--recursive`/`-r` flag to remove directories.288289> [!NOTE]287Note: there are scenarios where using `fd … -X rm -r` can cause race conditions: if you have a290> There are scenarios where using `fd … -X rm -r` can cause race conditions: if you have a291path like `…/foo/bar/foo/…` and want to remove all directories named `foo`, you can end up in a292situation where the outer `foo` directory is removed first, leading to (harmless) *"'foo/bar/foo':293No such file or directory"* errors in the `rm` call.294
406 unmodified lines