Hi,
I would like to use find to search for multiple types. For example search for symlink and regular file but not directories, sockets etc.... Something like:
find . -type l,f -name "stuff"
But of course it does not work.
Is there any way to avoid an if statement and to do it faster?
I searched the forum but I found something related to multiple file name (extension) but not type.
Thanks in advance
D.
---------- Post updated at 12:20 PM ---------- Previous update was at 12:17 PM ----------
==========================
OK Sorry I got it
find . -type f -o -type l -name "stuff"
it seems to work.