Author |
Message |
piet200
Joined: 21 May 2015 Posts: 33
|
Posted: Thu Jul 02, 2015 11:46 am Post subject: Collecting information scanning excluded folders |
|
|
I have a job which looks similar as the job configuration below.
All though I have excluded some folders, when I start the comparison it does scan all folders including the ‘excluded’ folders.
Since this is a very large folder structure it takes a very long time scanning folders which are irrelevant.
Is there a way to prevent the application to scan excluded folders ?
Source/Target
C:\source\folder1 c:\target\folder1
Subfolder filter:
Exclude: c:\source\folder1\Subfolder2
Exclude: c:\source\folder1\Subfolder4
Exclude: c:\source\folder1\Subfolder6
Exclude: c:\source\folder1\Subfolder8
File filter:
Include: \Subfolder1\
Include: \Subfolder3\
Include: \Subfolder5\
Include: \Subfolder7\
Structure:
C:\source\folder1\subfolder1
Subfolder2
Subfolder3
Subfolder4
Subfolder5
Subfolder6
Subfolder7
Subfolder8 |
|
Back to top |
|
|
TGRMN Software Site Admin
Joined: 10 Jan 2005 Posts: 8763
|
Posted: Thu Jul 02, 2015 11:40 pm Post subject: |
|
|
Hi, I think ViceVersa is looking into :
Exclude: c:\source\folder1\Subfolder2
Exclude: c:\source\folder1\Subfolder4
Exclude: c:\source\folder1\Subfolder6
Exclude: c:\source\folder1\Subfolder8
for potential files that could need to be included, given :
File filter:
Include: \Subfolder1\
Include: \Subfolder3\
Include: \Subfolder5\
Include: \Subfolder7\
If you use an absolute path for the file filters too, then it should be OK. _________________ --
TGRMN Software Support
http://www.tgrmn.com
http://www.compareandmerge.com |
|
Back to top |
|
|
piet200
Joined: 21 May 2015 Posts: 33
|
Posted: Fri Jul 03, 2015 9:45 am Post subject: |
|
|
Hi,
The example I made was not exactly the real world situation.
I am using UNC paths for the source and target directory, these path's are quite long and I don't want to replace them with a drive letter.
so it will be something like this:
source: \\?\UNC\<networkpath_source>
target: \\?\UNC\<networkpath_target>
subfolder filter:
Include> \Subfolder1\**
Include> \Subfolder3\**
file filter:
Exclude> \Subfolder1\trash\**
Exclude> \Subfolder3\trash2\**
But this configuration does not achieve what I want.
When do I use no asterisks, one asterisk or two asterisks ?
how do I sync the above folders "Subfolder1" and "Subfolder3" including all subfolders and files, except for the trash folders as mentioned above.
It is unclear which filter configuration I need to use to achieve this.
can you please explain ? |
|
Back to top |
|
|
TGRMN Software Site Admin
Joined: 10 Jan 2005 Posts: 8763
|
Posted: Mon Jul 06, 2015 6:36 am Post subject: |
|
|
Hi, given :
source: \\?\UNC\<networkpath_source>
target: \\?\UNC\<networkpath_target>
If you want to include only files in subfolder 'Subfolder1' and 'Subfolder3' but exclude files in subfolders 'trash' and 'trash2', then use:
Subfolder filters:
Include> \Subfolder1\
Include> \Subfolder3\
Exclude> trash
Exclude> trash2
thanks _________________ --
TGRMN Software Support
http://www.tgrmn.com
http://www.compareandmerge.com |
|
Back to top |
|
|
|