how to find and remove file in mac code example Example: remove all .orig files mac terminal find . -name '*.orig' -delete