If you want to, for example, delete multiple files with the find
command on Mac OS terminal you can use something like: find -E . ! -regex '.*/(file1.js|file2.js)' -delete
. Without the -E
you aren't able to use the |
operator amongst other things.