I am looking for a tool that can synchronize folders by generating a script that can then be run from a command line, and the script generated does not require the tool to be installed to work.
Like it can compare directories, then script the copy/delete operations, and allow you to save the script and run the script from any computer.
Also I am working windows world. I have looked a quite a few synchronization tools, but none I have seen so far will generate scripts.
Any advice would be much appreciated!
EDIT: The situation I have is we have several websites with the same core codebase. When this core codebase is updated new new files, changed files removed files.
I would like to create a script that can be packaged with the new and changed files that will copy them, and delete the files that are no longer needed. Sort of a really simple update program. Currently I do this with winmerge, I put the changed and new files in an archive, and I copy the names of the missing items and write the script by hand.
Since the package will only contain the new and changed files the script has to remember which files need to be deleted since when we run the script it should not have to connect back to the original source to figure our the deleted files. Currently I write the script by hand, and it is tedious. I was just hoping that some file sync tool had the ability to package an update complete with changed files and deletes, seems like that would be a nice feature.