sudo diff -urN some/first/folder  some/second/folder > /path/to/patch/file/some_file.patch