Subject: Excluding folders from syncing with the synchronizer class
Date: 2017-05-11 16:39:05
From: Kerrin Banner
Source: excluding-folders-syncing-synchronizer-class
----------------------------------------------------------------------

Hello i am using the Synchronizer class to sync two directories

I wish to exclude two subdirectories form the sync but sync all others.

Is there an easy way to define some exclusions?

Thanks

Kerrin

 

    // Synchronize directories. 

    sync.Synchronize(masterFolder, opt, null, masterFolder, targetFolder1, targetFolder2);

---------------------------------------------------------------------- Note: This question has been asked on the Q&A forum of Thang Dang's fraudulent ComponentPro brand If you purchased anything from ComponentPro, you have been scammed. Contact the payment processor who sold you the license and ask for your money back. Back to ComponentPro Q&A Forum Index