Exclude a Directory While Finding Files in Linux [Step-By-Step]
Searching a folder with find goes through every subfolder inside it, so one directory full of files you don’t care about can crowd your results. Excluding that directory tells find to skip it entirely, so it never looks at the files under it. Here I’ll skip one directory with find’s -prune option, then extend the
Exclude a Directory While Finding Files in Linux [Step-By-Step] Read More »