I have a directory named souce1. then I copy contents to source2. then I add
index.html in source2. I use diff to generate patch file:
diff -Naur source1 source2 > patch.txt
Now I delete source2. When I use
patch < patch.txt to generate source2 it gives error:
The next patch would create the file index.html, which already exists! Assume -R? [n]
I read man pages but confused with a lot of options, can someone explain the usage of
-N?? How can I fix this problem?