snippets · bash

Find files by extension excluding vendor and node_modules

Sucht Dateien nach Endung und blendet typische Abhängigkeitsverzeichnisse aus.

find {PATH} \( -path '*/vendor' -o -path '*/node_modules' \) -prune -o -type f -name '*.{EXT}' -print