crossetj
09-Mar-2004, 05:28 PM
One of the most common tasks I perform with BC is to create a 'delta' directory that contains just the differences of the two folders being compared.
Essentially I'm doing a 'two-pass' folder synchronization. I compare 'current' to 'last' and then copy the new and orphans from 'current' to a 'delta' folder. I then add some control files and documentation files to 'delta' and package that up. The 'delta' folder is then copied to the 'last' folder.
Currently I use the 'Copy to Folder' command and this works but there are some problems with it. I do this a lot with a lot of different BC sessions. The 'Copy to folder' dialogue doesn't maintain the folder location by session so I need to make sure it's right every time. I'm writing some scripts to get around this but that means I lose my visual 'does this look right' check so I have to add some reporting to the script process as well.
What I'd like to see is some sort of built in support for this kind of 'delta' operation. A command that lets me copy to a directory stored in the session for example.
Thanks,
Trevor
Essentially I'm doing a 'two-pass' folder synchronization. I compare 'current' to 'last' and then copy the new and orphans from 'current' to a 'delta' folder. I then add some control files and documentation files to 'delta' and package that up. The 'delta' folder is then copied to the 'last' folder.
Currently I use the 'Copy to Folder' command and this works but there are some problems with it. I do this a lot with a lot of different BC sessions. The 'Copy to folder' dialogue doesn't maintain the folder location by session so I need to make sure it's right every time. I'm writing some scripts to get around this but that means I lose my visual 'does this look right' check so I have to add some reporting to the script process as well.
What I'd like to see is some sort of built in support for this kind of 'delta' operation. A command that lets me copy to a directory stored in the session for example.
Thanks,
Trevor