Bash find multiple file types: directories & symbolic links

To find two or more file types, use the logical OR operator.

$ find . -type d -o -type l

This example finds all directories and symbolic links in the current directory.

View this page on GitHub.
Posted .

Comments

Leave a Reply