$ patch -p0 -R -i ../tmpFoo.patch patching file tmpFoo/Foo/one.txt patching file tmpFoo/Foo-new/one.txt patching file tmpFoo/Foo-new/two.txt patching file tmpFoo/Foo-old/one.txt $ tree -f -a . |-- ./Foo | `-- ./Foo/one.txt |-- ./Foo-new | |-- ./Foo-new/one.txt | `-- ./Foo-new/two.txt `-- ./Foo-old `-- ./Foo-old/one.txt 3 directories, 4 files