I'm about to make a patch for distribution, but I can't seem to get things right with the diff / patch pair. I have 2 directory structures where there are some changed files and also some new files in the "resulting" tree. So, I tried 'diff -Naur old new' and that part succeeded, but when I try to apply the patch, it creates the first missing file, but not where it should be... It's created in the directory where I ran 'patch < patch.diff' Then it borked on the next file, it's a file with changes.. Patch complains that it can't find the file at all. I also tried to edit the diff file header from looking like; --- ./old/lang/Dan/def_prefs.php 1970-01-01 01:00:00.000000000 +0100 +++ ./new/lang/Dan/def_prefs.php 2004-09-29 16:25:35.000000000 +0200 To look like; --- ./lang/Dan/def_prefs.php 1970-01-01 01:00:00.000000000 +0100 +++ ./lang/Dan/def_prefs.php 2004-09-29 16:25:35.000000000 +0200 That came up exactly the same. First created file in the wrong place and the next that should be changed couldn't be found. Any ideas on how I can fix my problem? Anders.