Global File Exclusion does not work

Get help for specific problems
Posts: 8
Joined: 15 Nov 2018

CarlosCastaneda

I have defined several sync pairs and run some of them at the same time. So far everything has always worked. I'm syncing some directories with nextcloud and I notice that there are many files of the form ".<original filename>.<some genereated suffix>". Now I would like to exclude these globally, which somehow does not work. Here is the corresponding section of globalsettings.xml:
   <DefaultFilter>
        <Include>
            <Item>*</Item>
        </Include>
        <Exclude>
            <Item>\System Volume Information\</Item>
            <Item>\$Recycle.Bin\</Item>
            <Item>\RECYCLE?\</Item>
            <Item>*\thumbs.db</Item>
            <Item>*\.*.*</Item>
        </Exclude>
        <TimeSpan Type="None">0</TimeSpan>
        <SizeMin Unit="None">0</SizeMin>
        <SizeMax Unit="None">0</SizeMax>
    </DefaultFilter>
If I call multiple sync pairs, I see all files that should be excluded with "*\.*.*". If I display the global filter (see attachement), then include is "*" and exclude is empty. If I now add exactly "*\.*.*" to exclude, then the files are excluded as expected.
But I have to do this manually every time, which is quite annoying. In addition, the last synced pairs do not remain marked, it's the top "[Last Session]".

So, is this a bug, do I do something wrong or does this not work at all?
Any advice appreciated.

Thanks
CC
Attachments
Screenshot 2021-12-10 155456.png
Screenshot 2021-12-10 155456.png (23.91 KiB) Viewed 1250 times
User avatar
Posts: 2946
Joined: 22 Aug 2012

Plerry

> If I now add exactly "*\.*.*" to exclude, then the files are excluded as expected.
> But I have to do this manually every time, which is quite annoying.

After modifying the Exclude Filter and running the Compare and Sync, simply save the sync configuration under any suitable name as a *.ffs_gui-file (or *.ffs_batch-file). This will also save the modified Filter settings.
When opening that stored sync configuration (or selecting it from the list of recent syncs) the saved, modified Filter settings will apply.

> In addition, the last synced pairs do not remain marked, it's the top "[Last Session]

Also this is solved by above saving the sync configuration and selecting said sync configuration.
User avatar
Posts: 4867
Joined: 11 Jun 2019

xCSxXenon

Are you trying to change the global filters for a single config or for all configs going forward?
Posts: 8
Joined: 15 Nov 2018

CarlosCastaneda

> If I now add exactly "*\.*.*" to exclude, then the files are excluded as expected.
> But I have to do this manually every time, which is quite annoying.

After modifying the Exclude Filter and running the Compare and Sync, simply save the sync configuration under any suitable name as a *.ffs_gui-file (or *.ffs_batch-file). This will also save the modified Filter settings.
When opening that stored sync configuration (or selecting it from the list of recent syncs) the saved, modified Filter settings will apply.

> In addition, the last synced pairs do not remain marked, it's the top "[Last Session]

Also this is solved by above saving the sync configuration and selecting said sync configuration. Plerry, 11 Dec 2021, 21:18
That might be a temproray workaround because the resulting sync configuration file consists of all pairs selected. When e.g. a sync pair will be modified then this modification won't be reflected in the "new" sync configuration. And, depending on what I want to run, I may choose different pairs.
Posts: 8
Joined: 15 Nov 2018

CarlosCastaneda

Are you trying to change the global filters for a single config or for all configs going forward? xCSxXenon, 12 Dec 2021, 15:59
I want to define a global filter for different subsets of sync pairs that I select for each run.
Currently I manually pushed down the global filter into every single sync pair config file.
User avatar
Posts: 4867
Joined: 11 Jun 2019

xCSxXenon

Are these "sync pairs" all contained in a single FFS config? If so, the filter settings for "All folder pairs" is going to applied to each pair.
Posts: 8
Joined: 15 Nov 2018

CarlosCastaneda

No, I use different files depending on the source and target folders and sometimes I want to run them independently.
User avatar
Posts: 4867
Joined: 11 Jun 2019

xCSxXenon

Gotcha.
On the filters tab, there is a button in the bottom-right to save/load filter templates. Here you can change the default so that every new config going forward uses your custom settings.
Posts: 8
Joined: 15 Nov 2018

CarlosCastaneda

Thanks for your reply. I have already been there and made some modifications, but now I noticed that I can/must load the global settings via the Default button for them to be active. I assumed that these settings are always loaded by "default" as the name of the button suggests. I guess that was my misunderstanding.