command line remove files macos code example Example: how to remove all images in folder mac terminal find /path -name '*.orig' -delete