find files matching one of multiple patterns
Hi,
Is there an easier way to write this "find" expression to find any
files matching either *.bak or *.bck:
find . \( -name "*.bck" -o -name "*.bak" \) -print
Since all I want is really something like
ls *.{bak,bck}
but recursively over all subdirectories, I wonder if there's a way to
write a similar, shorter expression for the -name argument in find.
Thanks!
|