Kinook Software Forums

Go Back   Kinook Software Forums > Visual Build Professional > [VBP] General Discussion

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 06-07-2006, 11:24 AM
maks maks is online now
Registered User
 
Join Date: 03-09-2005
Posts: 8
Question Synchronize folders

There is an option in Copy Files Step "Delete destination files and folders that do not exists in source (synchronize)". It works exactly as it says but it ignores the files/folders that are listed in Exclude list.
Is there a way to synchronize the folders that would use Exclude files also? For example I have files a.txt, b.txt, c.txt in the source folder and the same files in the destination. I add c.txt to Exclude list. What I expect is c.txt to be deleted from the destination but it's not.
I understand that I can delete entire destination folder first and then run copy step but I'm looking for a way to synchronize the folders without copying all the files.
Reply With Quote
  #2  
Old 06-07-2006, 12:17 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 5,757
It is by design that files matching the exclude masks are excluded from the copy/sync. If you start over (delete the destination) one time, when building again, any files matching the exclude list will excluded from being copied. Or if you remove c.txt from the exclude list and instead remove c.txt from the source path, it will also be deleted from the destination when the copy/sync is performed.
Reply With Quote
  #3  
Old 06-07-2006, 12:21 PM
maks maks is online now
Registered User
 
Join Date: 03-09-2005
Posts: 8
Thanks for reply
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 10:22 PM.


Copyright 1999-2019 Kinook Software, Inc.