Reputation: 451
I have the following command:
find -xtype f -iname '*NEN*' -o '*1990*'
I get the error "find: paths must precede expression: 1990" Why is this? I have quoted the wildcard, so I don't see the error. How to fix this?
Thanks!
Upvotes: 1
Views: 2657
Reputation: 5785
You need to repeat the -iname
argument:
find -xtype f -iname '*NEN*' -o -iname '*1990*'
Upvotes: 3