Patch/Diff tool + something else?
Posted: Mon Nov 30, 2009 11:35 am
Preferably a Debian CLI series of tools.
1. I have two versions of PHP applications.
2. I want to use diff/patch to basically build the differences of files/folders
The caveat is, the ouput of patch doesn't seem to do as I need. I need the output to essentially mirror the latest version but only iunclude the files/folders which were actually changed, nothing more.
Uploading this 'mirror' over top the existing (older) installation to basically bring it up-to-date by overwriting older files and ignoring files which have no changes.
Possible? Can you please show me how this would be done?
Cheers,
Alex
1. I have two versions of PHP applications.
2. I want to use diff/patch to basically build the differences of files/folders
The caveat is, the ouput of patch doesn't seem to do as I need. I need the output to essentially mirror the latest version but only iunclude the files/folders which were actually changed, nothing more.
Uploading this 'mirror' over top the existing (older) installation to basically bring it up-to-date by overwriting older files and ignoring files which have no changes.
Possible? Can you please show me how this would be done?
Cheers,
Alex