Exclude directories?

Post your new features ideas and suggestions here.
Post Reply
MKairys
Posts: 63
Joined: Tue Oct 07, 2003 10:28 am
Location: Ann Arbor, Michigan

Exclude directories?

Post by MKairys »

I am beginning to work with projects and to set up more complicated (and hence more useful :) ) configurations. I wish I had some finer control over what directories are included.

For example I have a folder tree with a dozen folders, of which I want to synch all but one. Now, I could set up eleven separate configs and add them to a project, but this approach is cumbersome, and will not scale well - my final project would probably have 40 or 50 configs.

I could of course exclude all the file types found within the given directories, but I would much prefer to exclude them entirely from the scan since they hold many files and cause a lot of wasted scanning time.

I tried using an exclude search mask with a partial path, like bin\*.*, but that does not seem possible.

I would welcome any suggestion...

grigsoft
Site Admin
Posts: 1673
Joined: Tue Sep 23, 2003 7:37 pm
Contact:

Post by grigsoft »

You can use exclude folders in following formats:
1. full path: c:\temp
2. subfolder name: temp (will exclude c:\temp. d:\windows\temp)
3. masked subfolder name: temp* (will also exclude "c:\temporary")
All these items can be combined with ; or ,

MKairys
Posts: 63
Joined: Tue Oct 07, 2003 10:28 am
Location: Ann Arbor, Michigan

Post by MKairys »

Thank you for your reply; I will try this out!

seaktf

And excluding files?

Post by seaktf »

Is it possible to exclude certain files?

grigsoft
Site Admin
Posts: 1673
Joined: Tue Sep 23, 2003 7:37 pm
Contact:

Post by grigsoft »

Yes - try combining its names with include mask by '!' character: "*.doc *.txt ! _*.*" will include all docs except of that with '_' in the beginning.

seaktf

Post by seaktf »

Actually, I meant to exclude files in a certain subdirectory.

grigsoft
Site Admin
Posts: 1673
Joined: Tue Sep 23, 2003 7:37 pm
Contact:

Post by grigsoft »

It seems to me that you can use same rule, by including full path. But I'm not sure, I have to check this, since I have never done it myself.

Post Reply