$ patch -p1 -i ../tmpFoo.patch patching file Foo/one.txt patching file Foo-new/one.txt patching file Foo-new/two.txt patching file 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