Synchronize Select Folders

Good evening,
After struggling for about 5 hours, I decided to come to the source for some guidance.
I'm using D Opus 11.17 64x on Windows 7 x64 platform.
-I've been trying to design a filter for synchronizing certain folders while completely excluding others (from synchronization or deletion.)
-Let's say I need my D: drive (~160GB) and E: drive to be sync'ed, but I have a folder named "Protected files" (with many subdirectories) on my E: drive that I want to be hidden from the DOpus sync (ie. I don't want it modified or deleted since it doesn't appear on the D: drive.)
-Everything else on both drives needs to be sync'ed using the standard DOpus tool.
Am I wrong in thinking this is possible?

I've read up on How to filter items by location or sub-folder, many forum posts, as well as the version 11 manual on Filter Clause Types and I can't seem to figure it out. I understand that the "subfolder" filter isn't functional in sync, only copy etc. I've tried defining a "location," "full path," even a "label" to try to exclude by color... maybe my syntax is off?
Any and all help would be greatly appreciated.
Regards from Mississippi-John

The examples in the FAQ should work, but there must be a detail out of place if they aren't working.

What does your setup look like at the moment, and what are the results?

It's often easiest to make a filter work with Find before trying it with other operations that modify things (as long as sub-folder is avoided in this case, as you've already noted).

Hello Leo,
Thanks for taking the time to assist me on this issue.
As you can see, in this most recent attempt, I tried to follow your tutorial topic How to filter items by location or sub-folder in this example below:


What I am getting on two way copy (sync) is that files in my directory D:\Acuarius\ are being excluded (that's good), but the empty folders are sync'ed (not good). At the same time, folders and files from E:\Library - Current Archive\ are excluded from sync to D:\ (not good.)
I wish I had kept examples of all the attempts I made last night, but in the mind-mush, I neglected to do so. What I did manage in my attempts was to copy files but not exclude D:\Acuarius*.* , to include everything in D:\Acuarius\ but exclude everything else, and to get to where I am now: exclude everything but the folder structure in D:\Acuarius*.*
Here's a detail of my filter:

I look forward to your help when you get a chance.
Regards,
John

The filter would only copy files whose name is Acuarius and which are not below a folder named Acuarius and another folder with a dot in its name.

That's probably not what you want.

It's also using a mixture of wildcard and regular expression syntaxes, which is going to confuse things.


To copy all files, except ones in or below any folder named Acuarius, you can use either:

Location, No Match, *\Acuarius(\*|) [x]Use Wildcards

Or, slightly more simple:

Full Path, No Match, *\Acuarius\* [x]Use Wildcards

No other clause is needed. in particular, you don't need the Name clause that your screenshot has on the first line.

Leo,
I tried your second filter and it worked like a charm. :thumbsup: I'll play around with the first for my own educational needs.
Two things had confused me originally: 1- I had not let the compare function go to its fruition, and I saw that DOpus had marked the empty folders to copy ( as image show), and more detrimentally, I have always had a weakness when it comes to DOS syntax, so all my wildcard attempts were clearly off (as you pointed out.)
I believe my Full path attempt had been something like "Full Path, No Match, .\Acuarius*.* and D:\Acuarius*.*
-Anyhow, ¡muchas gracias!
Regards,
JohnPC (reluctant "PC"...more of an old Amiga user) :wink:

Warning: empty folders under this path will be included in the Sync. The only workaround I found to fix that was to put in them some random empty file.

(I use this filter a lot to ignore .git folders)

You can define it using either WildCards or Regular Expressions:

Location, No Match, *.git(*|)
[x] Use Wildcards

Location, No Match, (.git)
[X] Use Regular Expressions

Thanks for the update.