I have 2 folders with files. These files are the product of some build process. The first folder is the outputs of previous build while the latter is the output of the current build.
I would like to somehow diff these 2 folders from the command line/build script and copy only files that were added or files that are new into some other folder.
**FOLDER1** (new build) a.txt b.txt (modified) c.txt d.txt **FOLDER2** (prev build) a.txt b.txt c.txt
Based on this, the copy operation i am interested in, will copy only b.txt and d.txt into some other folder (not into folder2).
Basically, i am only after the "deltas" and i would like to store these some place.
Is this possible using standard command line tools that come with Windows? (suppose Windows 7/Server 2008 or higher)