In bash shell ls can use a logical OR functionality through (of course I could also do ls name1 name2 but my true examples are more complicated):
ls @(name1|name2)
Is there a way to do this using find?
My naive implementation:
find . -maxdepth 1 -name @("name1"|"name2")
doesn't work (it just outputs nothing)