Running “patch” without generating *.orig and *.rej files

After run the path, if *.orig and *.rej files has been generated, you use the following cmd to remove these files.

find . \( -name \*.orig -o -name \*.rej \) -delete

Advertisements