↧
Answer by steeldriver for How to find multiple files with specific pattern...
You can use ! \( -name '.bashrc' -o -name '.profile' \) Ex. $ find /etc/skel ! \( -name '.bashrc' -o -name '.profile' \) /etc/skel /etc/skel/.mkshrc /etc/skel/examples.desktop /etc/skel/.kshrc...
View ArticleHow to find multiple files with specific pattern using or in find command
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...
View Article