Skip to main content

Negate find parameters on linux bash

find -maxdepth 1 -type d -not -name "*hide*"

= Show all directories directly located in the current directory which do not have the word 'hide' in their name.