|
|
Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
How might I copy on only diffs between two folders into a third?
Here's the scenario --
* I have Folder A (which contains a copy of my latest source code) * I have Folder B (which contains a copy of the base version of this same source code) * Now I wish to create Folder C with just the differences between these two folders. Folder C is to contain only those files that have been updated or added. Does that make sense? Any suggestions? |
#2
|
|||
|
|||
There are no built in actions in Visual Build Professional to do folder comparisons.
There are numerous third party programs created specifically for comparing files & folders, such as Beyond Compare (not free but one that we use) or you could create a Run Script step in Visual Build which uses the vbld_FSO object to iterate over the folder contents and do the comparison you need. |
#3
|
|||
|
|||
That's good advice -- Beyond Compare is a great tool (used it for years). I was just hoping I could do it all from VBP. You guys should work out a deal with them and offer Compare/Diff/Merge/Sync actions in VBP using BC2 engine. Just a thought.
Last edited by Dave_Novak; 03-16-2007 at 07:44 AM. |
Thread Tools | |
Display Modes | Rate This Thread |
|
|