> cat ~/.fdignore /mnt/external-drive *.bak Note: fd also supports .ignore files that are used by other programs such as rg or ag. On macOS I tried creating ~/.ignore ...
# Skip all files * # But not `aDir/anotherDir/someOtherDir/aDir/bDir/cDir/a.txt` !aDir/ aDir/* !aDir/anotherDir/ aDir/anotherDir/* !aDir/anotherDir/someOtherDir/ aDir ...