Is it possible within the find command to use or to specify multiple patterns to look for using regex or any other means? For example, I am looking for all files that aren't .bashrc
or .profile
in a certain directory. The following doesn't function, but gets the point across of what I am trying accomplish:
find . ! -name "(.bashrc|.profile)"
Thanks!