Hi Team,
I am searching for multiple files in total linux server using shell script, But find command generally searches for the entire server for the files.
which is taking more time for searching. is there any way we can write shell script where it needs to search for multiple files. if any of the file matching with search it needs to stop searching again for it.
Example : I am looking for a1 r3 y7 files in the entire server.
If i use find syntax like below
find . -type f \( -name "a1" -o -name "*r3" \)
so will it search for "a1" file in entire server and then starts looking for "r3" ?
will it search for multiple files at a time ?.