Kinook Software Forum

Kinook Software Forum (https://www.kinook.com/Forum/index.php)
-   [VBP] General Discussion (https://www.kinook.com/Forum/forumdisplay.php?f=2)
-   -   How might I copy on only diffs between two folders into a third? (https://www.kinook.com/Forum/showthread.php?t=2381)

Dave_Novak 03-15-2007 08:22 AM

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?

kevina 03-15-2007 09:12 AM

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.

Dave_Novak 03-15-2007 06:22 PM

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.


All times are GMT -5. The time now is 12:50 PM.


Copyright © 1999-2023 Kinook Software, Inc.