I am using
find -type f command to recursively find all files from a certain starting directory. However, I would like to have some directories prevented from entering and extracting names of files inside. So basically I am looking for something like:
find . -type f ! -name "avoid_this_directory_please"
Is there a functioning alternative to this?