Question about filters

Get help for specific problems
Posts: 1
Joined: 20 Oct 2023

israfelz

Hi

I have a question about filters.

I'm doing a Two way sync between a local drive and a network drive.


Sync should only happen if a folder called "SyncMe" exists somewhere in the folder path. So i made this include filter.
?*\SyncMe\*

Example:
\Folder1\Folder2\Folder3\SyncMe
This folder will be Synced just fine.

We rename Folder3 to Folder4:
\Folder1\Folder2\Folder4\SyncMe

Now syncing will make the new folder, but only delete the SyncMe folder in the old path, and we end up with 2 folders:
\Folder1\Folder2\Folder3\
\Folder1\Folder2\Folder4\SyncMe

Without the filter, the whole of the old path "\Folder1\Folder2\Folder3\" would have been removed.


I am aware that this is what I am asking the filter to do, and not a bug.
But is there a way to have both the filter that makes sure that only a path with "SyncMe" folder present will sync.
And have FFS delete the old folder path, like it would have done with no filters.

I hope this make sense lol


Thanks!