find directory using terminal MacOS code example Example: search folder in current command mac find / -type d -name "*farm-animal-type*"